Vitex Software's Ease Twitter Bootstrap4

DropdownLink extends DivTag
in package

Description of Dropdown.

Tags
author

Vítězslav Dvořák info@vitexsoftware.cz

Table of Contents

Properties

$dropdownMenu  : DivTag

Methods

__construct()  : mixed
Dropdown menu.
addDropdownItem()  : void
add one dropdown item.
finalize()  : void
handle()  : ATag
Dropdown handle.

Properties

Methods

__construct()

Dropdown menu.

public __construct(string $heading[, string $type = 'link' ][, array<string|int, mixed> $items = [] ][, array<string|int, mixed> $properties = [] ]) : mixed
Parameters
$heading : string
$type : string = 'link'

one of primary|secondary|success|danger|warning|info|light|dark|link

$items : array<string|int, mixed> = []
$properties : array<string|int, mixed> = []

addDropdownItem()

add one dropdown item.

public addDropdownItem(string $label, string $url) : void
Parameters
$label : string

or empty for divider

$url : string

handle()

Dropdown handle.

public handle(string $heading, string $type) : ATag
Parameters
$heading : string
$type : string

one of primary|secondary|success|danger|warning|info|light|dark|link

Return values
ATag

        
On this page

Search results