Icon Bar

  • Shows group of icons in popup or parent class.

Example Link

Features/Functionality

  • Shows an icon bar.
  • Shows group icon also.
  • On click of icons callback is called.
  • Component is responsive.
  • It is cross browser compatible. (Edge, Firefox, chrome).

Basic Usage

Dependencies

Definition

<cst-s-icon-bar schema.bind="${schema}"></cst-s-icon-bar>

Schema Description

AttributeValueDescription
idstring typeIdentifier for component.
iconsarray typeIcons/Group icons to be shown.

options

object typeOptions for icon component.
onClickstring typeMethod to be called on click of child icons.
elmInstanceany typeIcon element instance.

subAccessCtrl

object typeAccess Ctrl for the component.

subTheme

object typeTheme for the component.

subFont

object typeFont for the component.

subStyle

object typeStyle for the component.

subRawAttributes

object typeRaw Attributes for the component.

options

PropertyValueDescriptionValue
directionvertical/horizontalDirection to arrange the icons.

Schema Example

let schema = {
icons = [], // array of icons consider as grouped icon also
options = {
direction: ''
},
onClick = ''
subAccessCtrl = {},
subTheme = {},
subFont = {},
subStyle = {},
subRawAttributes = {}
}