{{buttonText}}の動的値を設定する方法は誰でも知っていますか?htmlの補間用テキストを設定する
これ以上表示する記事がない場合は、{{buttonText}}が「表示が少ない」と表示されるようにしたいと考えています。
マイHtmlの
<button ion-item (click)="items.showMore2 = !items.showMore2; items.showMore1 = !items.showMore1; items.toggleMore2 = !items.toggleMore2; items.toggleMore1 = !items.toggleMore1" [hidden]="items.toggleMore1" text-center detail-none large>
<h4 class="showMoreText"><ion-icon name="arrow-down" *ngIf="!items.arrow"></ion-icon>
<ion-icon name="arrow-up" *ngIf="items.arrow"></ion-icon> {{buttonText}}</h4>
</button>
すべてのヘルプは歓迎です!
あなたはコンポーネントの右内側に値を代入知っていますか?あなたの質問は少し不明です – echonax