Nav
class Nav extends Component
Properties
$levels | |||
$children | |||
$type | |||
$root | |||
$activeClass | |||
$dropdownClass | |||
$liClass | |||
$aClass | |||
$showTitle |
Methods
__construct(Page|int $parent = null, int|null $levels = null, string $type = 'nav', string|null $root = null, string|null $activeClass = null, string|null $dropdownClass = 'dropdown-container', string|null $liClass = null, string|null $aClass = null, bool $showTitle = false)
Create a new component instance.
string
string
dropdownClassList()
No description
int|null
dropdownLevels()
No description
bool
View|string
render()
Get the view / contents that represent the component.
Details
at line 34
__construct(Page|int $parent = null, int|null $levels = null, string $type = 'nav', string|null $root = null, string|null $activeClass = null, string|null $dropdownClass = 'dropdown-container', string|null $liClass = null, string|null $aClass = null, bool $showTitle = false)
Create a new component instance.
at line 55
string
aClassList(NavigationData $child)
at line 63
string
dropdownClassList()
at line 71
int|null
dropdownLevels()
at line 81
bool
isActive(NavigationData $child)
deprecated
deprecated
at line 91
View|string
render()
Get the view / contents that represent the component.