Button
cf-button
CF Button has two features that makes it special. The fact that you can pass and icon name and position to the button and it renders is automatically, as well as having a waiting state.
Basic Usage
Waiting State
app.html
app.ts
Properties and Styling
app.html
app.ts
Input Properties
Attr
Type
Details
display
boolean
If true, the icon will be displayed else the icon will be hidden. By default it's value is true
disabled
boolean
If true the button will be disabled. By default it's value is false
label
string
Label to be displayed on the button
iconName
string
Name of the icon, material or font aweesome name.
iconPosition
string
Position of the icon, by default it's on the left
waitingButton
any
Object with 3 attributes: value, disabled, iconProperty. Activated when the button is clicked.
Last updated