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 button
class.
The content of a button can be preceded by a material icon glyph (iconGlyph
property).
Here are other common button-relevant looks:
Buttons can be lined-up in a button-set.
A 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 (commandName
, commandArgument
)
and event (command
).
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.