The main purpose of a button is being clicked.
That may occurs by using a mouse, via a touch device or by hitting the spacebar or the enter key on a keyboard.
The usual appearence for a
<pacem-button> is obtained by adding the
The content of a button can be preceded by a material icon glyph (
Here are other common button-relevant looks:
Buttons can be lined-up in a button-set.
PacemButtonElement can be bound to a dialog, in order to request confirmation before the very execution and discard it, eventually.
PacemButtonElement implements the command pattern; just manage the relevant observable properties (
and event (