Button
cf-button
Basic Usage
<!-- Example of a simple button with just a label -->
<cf-button label="Press Me"></cf-icon>
<!-- Example of a button with an icon -->
<cf-button label="Close" iconName="close" iconPosition="left"></cf-icon>Waiting State
<cf-button label="Reload" [waitingButton]="myWaitingState"></cf-icon>waitingIcon = {
name: "fa-spinner",
type: "fa",
size: "20px"
}
myWaitingState = {
value: true, // can be of type any
disabled: true, // disable or enable button when waiting
iconProperty: this.waitingIcon
}Properties and Styling
Input Properties
Last updated