Buttons

The button component replaces the standard html button with a material design theme and a multitude of options.

Button

// Button: 
schema: { 
    ctrl: { 
        type:'btn',
        label:'Print' 
        iconRight: 'print'
    },
    ... 
}

Button-Group

// Button Group: 
schema: { 
    ctrl: { 
        type:'btn-toggle', 
        options: [
          { icon: 'format_align_left', value: 'Left', large:true, elevation:4 }, 
          { icon: 'format_align_justify', value: 'Center' },
          { icon: 'format_align_right', value: 'Right', color:'blue' }
        ]
    },
    ... 
}

Last updated