jui\Tabs renderItems()

renderItems() protected method Renders tab items as specified on $items. protected string renderItems ( )return string The rendering result. throws \yii\jui\InvalidConfigException.

jui\Tabs $options

$options public property The HTML attributes for the widget container tag. The following special options are recognized: tag: string, defaults to "div", the tag name of the container tag of this widget. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = []

jui\Tabs $linkTemplate

$linkTemplate public property The default header template to render the link. public string $linkTemplate = '<a href="{url}">{label}</a>'

jui\Tabs $items

$items public property List of tab items. Each item can be an array of the following structure: label: string, required, specifies the header link label. When $encodeLabels is true, the label will be HTML-encoded. content: string, the content to show when corresponding tab is clicked. Can be omitted if url is specified. url: mixed, mixed, optional, the url to load tab contents via AJAX. It is required if no content is specified. template: string, optional, the header link template to render

jui\Tabs $itemOptions

$itemOptions public property List of HTML attributes for the item container tags. This will be overwritten by the "options" set in individual $items. The following special options are recognized: tag: string, defaults to "div", the tag name of the item container tags. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $itemOptions = []

jui\Tabs $headerOptions

$headerOptions public property List of HTML attributes for the header container tags. This will be overwritten by the "headerOptions" set in individual $items. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $headerOptions = []

jui\Tabs $encodeLabels

$encodeLabels public property Whether the labels for header items should be HTML-encoded. public boolean $encodeLabels = true

jui\Spinner run()

run() public method Renders the widget. public void run ( )

jui\Spinner renderWidget()

renderWidget() public method Renders the Spinner widget. public string renderWidget ( )return string The rendering result.

jui\Spinner $clientEventMap

$clientEventMap protected property Event names mapped to what should be specified in .on(). If empty, it is assumed that event passed to clientEvents is prefixed with widget name. Event names mapped to what should be specified in .on(). If empty, it is assumed that event passed to clientEvents is prefixed with widget name. protected array $clientEventMap = ['spin' => 'spin', 'change' => 'spinchange', 'create' => 'spincreate', 'start' => 'spinstart', 'stop' => 'spinstop']