DialogButtonDirective

12 Sep 20251 minute to read

‘e-button’ directive represent a button of angular dialog
It must be contained in a Dialog component(ej-dialog).

<ejs-dialog id='dialog' showCloseIcon=true>
  <e-buttons>
   <e-dialogbutton [buttonModal]='okButton'></e-button>
   <e-dialogbutton [buttonModal]='cancelButton'></e-button>
  </e-buttons>
</ejs-dialog>

Properties

buttonModel any

Specifies the button component properties to render the dialog buttons.

isFlat any

Specifies the flat appearance of the dialog buttons

Defaults to true

type any

Specify the type of the button.
Possible values are Button, Submit and Reset.

Defaults to ‘Button’