BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Explanations tag in this question are rendered as a HTML elements.
I do not know hot to fix this in question.
Regards,
Milos
<button type="button" contentType="textonly" text="login" ej-button></button>//Here you can use content type textonly
<button type="button" contentType="imageonly" prefixIcon="e-icon e-handup" ej-button></button>>//Here you can use content type imageonly
<button type="button" contentType="textandimage" prefixIcon="e-icon e-handup" text="login" ej-button></button> >>//Here you can use content type textandimage |
import { Component, ViewEncapsulation} from '@angular/core';
@Component({
selector: 'ej-app',
templateUrl: './app.component.html',
})
export class AppComponent {
constructor() {
}
} |
Hi Rajesh,
Thank you it was all I need, now it is clear.
Regards,
Milos
Sorry I found another problem with this implementation.
My button is disabled and click works.
It should not work if button is disabled.
Regards,
Milos
<button type="button" text="login" ej-button id="button1" [enabled]="enabled" (ejclick)="onClick($event)"></button>
<ej-togglebutton type="checkbox" id="togglebutton1" contenttype="imageonly" [enabled]="enabled" (ejclick)="onClick($event)" defaultprefixicon="e-icon e-mediaplay" activeprefixicon="e-icon e-mediapause"></ej-togglebutton> |
export class DatePickerComponent {
enabled:boolean;
constructor() {
this.enabled=false;
}
onClick(){
alert("click action get triggered");
}
}
|
Hi Berly,
Thank you, that is it.
My mistake was that I used Angular 2 (click) event instead of Syncfusion button click (ejclick).
Regards,
Milos