Button
Description
A simple button
{{ component('proglab_button', {
style: 'primary',
type: 'button',
label: 'This is a button 2',
size: null,
disabled: false,
class: null,
icon_before: null,
icon_after: null,
}) }}
Parameters
R = Required
Parameter | Type | Description | Accepted Values | Default Values |
---|---|---|---|---|
label R | string | The label | null | |
style | string | The bootstrap style | primary, secondary, success, danger, warning, info, light, dark, link | primary |
type | string | The button HTML type | button, submit, reset | button |
size | ?string | The size of the button | sm, gd, null | null |
disabled | bool | true, false | false | |
class | ?string | null | ||
icon_before | ?string | icon before the label | null | |
icon_after | ?string | icon after the label | null |
Usage/Examples
{{ component('proglab_button', {
label: 'Ceci est un bouton 3'
})
}}