Button (Angular)

This guide demonstrates how to use the Button component.

Button Properties

Name Type Default Description
Name string ‘button’ + index suffix Unique name of the button.
Text string/expression empty Button text.
Icon string null Button icon.
ButtonStyle string default/blue-gray Button style.

For more info about expressions please visit expressions in our documentation.

Select icon

Select style

Button Events

Name Type Default Description
Click event null Click event of the button. No event arguments.

For more info about event actions please visit event actions in our documentation.

Angular declaration

<rz-button #button0 (click)="button0Click($event)">