小编es0*_*06x的帖子

如何在角度2组件中单击时更改布尔值

如何连接按钮以更改其下方指令中[codeOnly]值的值?

我在打字稿中使用Angular 2.4.10.

<button class="btn btn-primary">
     Click me to change all of the [codeOnly] values below to true
</button>

<app-header [codeOnly]='false'></app-header>

<app-power-bi-wrapper [codeOnly]='false'></app-power-bi-wrapper>

<app-power-bi-wrapper-mobile [codeOnly]='false'></app-power-bi-wrapper-mobile>

<app-page-title [codeOnly]='false'></app-page-title>

<app-page-title-nav [codeOnly]='false'></app-page-title-nav>
Run Code Online (Sandbox Code Playgroud)

javascript typescript angular

11
推荐指数
1
解决办法
2万
查看次数

标签 统计

angular ×1

javascript ×1

typescript ×1