Our pure JavaScript Scheduler component


Post by Globox21126 »

Hey,

I have used <brytnum-button> wrapper in my html:

	          <bryntum-button [badge]="sessionService.sessionUndo | async" (click)="onUndo()" class="b-badge b-blue b-icon-align-start"><div><i class="b-fas b-fa-undo b-fa"></i></div></bryntum-button>	

      <bryntum-button [badge]="sessionService.sessionRedo | async" (click)="onRedo()" class="b-badge b-blue b-icon-align-start"><i class="b-fas b-fa-redo b-fa"></i></bryntum-button>


and it looks like below:

bb.png
bb.png (1.02 KiB) Viewed 304 times

Am I doing something wrong? It even doesnt render icons in this tag


Post by saki »

Use the configuration similar to:

    <bryntum-button
        badge = "44"
        icon = "b-fa-undo"
        cls = "b-raised"
    ></bryntum-button>

I got this result with it:

Screen Shot 2021-09-22 at 13.34.39.png
Screen Shot 2021-09-22 at 13.34.39.png (8.39 KiB) Viewed 297 times

Post by Globox21126 »

Works like a charm.
Thanks!


Post Reply