Separator

class bootlace.nav.elements.Separator(hr: ~bootlace.util.Tag = Tag(tag=<class 'dominate.tags.hr'>, classes={'dropdown-divider'}, attributes={}))[source]

Bases: NavElement

A separator in dropdown menus

Attributes Summary

active

Whether the element is active

enabled

Whether the element is enabled

hr

Methods Summary

__tag__()

element_state(tag)

Apply active and enabled states to the tag.

Attributes Documentation

active

Whether the element is active

enabled

Whether the element is enabled

hr: Tag

Methods Documentation

__tag__() html_tag[source]
element_state(tag: dom_tag) dom_tag

Apply active and enabled states to the tag.