#145

Product support

Visit this product's website for support.

Categories

  • Developer Tools
  • Utility

Add a toggleable switch as a column type (inetis-list-switch) to the backend.

Demo

Default behavior
switch-icon

Behavior with icon: false
switch-text

With custom titles
switch-icon-custom-titles

Support

Please use GitHub Issues to report any issues with this plugin.

Reviews should not be used for getting support or reporting bugs, if you need support please use the Plugin support link.

Usage

To add a switch column to a list; set the type of the column to inetis-list-switch.

Example:

your_column:
    label: 'Your Label'

    # Define the type as "inetis-list-switch" to enable this functionality
    type: inetis-list-switch

    # Whether to use ✓/✗ icons to replace the Yes/No text (default: true)
    icon: true

    # Overrides the title displayed on hover over the column
    titleTrue: 'Unpublish item' # (default: 'inetis.listswitch::lang.inetis.listswitch.title_true')
    titleFalse: 'Publish item' # (default: 'inetis.listswitch::lang.inetis.listswitch.title_false')

    # Overrides the text displayed on the button
    textTrue: 'Published' # (default: 'inetis.listswitch::lang.inetis.listswitch.text_true')
    textFalse: 'Unpublished' #(default: 'inetis.listswitch::lang.inetis.listswitch.text_false')
1.0.2

Display correctly the column label

Jun 19, 2017

1.0.1

First version of listSwitch

Jun 15, 2017