Property | Type | Description | |
---|---|---|---|
$brandLabel | the text of the brand or false if it's not used. Note that this is not HTML-encoded. | ||
$brandOptions | the HTML attributes of the brand link. | ||
$brandUrl | array | string | boolean | ||
$containerOptions | the HTML attributes for the container tag. The following special options are recognized: - tag: string, defaults to "div", the name of the container tag. | ||
$innerContainerOptions | the HTML attributes of the inner container. | ||
$options | the HTML attributes for the widget container tag. The following special options are recognized: - tag: string, defaults to "nav", the name of the container tag. | ||
$renderInnerContainer | whether the navbar content should be included in an inner div container which by default adds left and right padding. Set this to false for a 100% width navbar. | ||
$screenReaderToggleText | text to show for screen readers for the button to toggle the navbar. |
Method | Description | |
---|---|---|
init ( ) | Initializes the widget. | |
run ( ) | Renders the widget. |
Method | Description | |
---|---|---|
renderToggleButton ( ) : string | Renders collapsible toggle button. |
protected renderToggleButton ( ) : string | ||
return | string | the rendering toggle button. |
public $brandLabel |
public $containerOptions |
public $innerContainerOptions |
public $options |
public $renderInnerContainer |