xplain.ux.widget.selection.Button

An xselectionButton is a button that depicts a selection. You may integrate this button into your UI.

Config Parameters

selectionSet = globalSelections

name of the selectiton set that this button should depict. Defaults to globalSelections

background = "#FFC65B"

Color to use for this button. Defaults to standard “yellow”, i.e. #FFC65B

color = "#000000"

Font color to use for this button. Defaults to standard #000000

alwaysOn = false

If set to false, this button will not respond to any selection. Instead, it will always be displayed as if a selection exists.

extraCls = null

A CSS class that will be added to the default CSS class of this component.

size = 'small'

The size of the button. Either large or small. If large, a string representing the current selection will be put beside the “S” character.