Skip to main content

Button

Description

A simple button

Bouton

{{ 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

ParameterTypeDescriptionAccepted ValuesDefault Values
label RstringThe labelnull
stylestringThe bootstrap styleprimary, secondary, success,
danger, warning, info,
light, dark, link
primary
typestringThe button HTML typebutton, submit, resetbutton
size?stringThe size of the buttonsm, gd, nullnull
disabledbooltrue, falsefalse
class?stringnull
icon_before?stringicon before the labelnull
icon_after?stringicon after the labelnull

Usage/Examples

  {{ component('proglab_button', {
label: 'Ceci est un bouton 3'
})
}}