Link¶
- class bootlace.links.Link(*, text: ~bootlace.util.Taggable | ~dominate.dom_tag.dom_tag | str | ~collections.abc.Iterable[~bootlace.util.Taggable | ~dominate.dom_tag.dom_tag], a: ~bootlace.util.Tag = Tag(tag=<class 'dominate.tags.a'>, classes=set(), attributes={}), url: str, active: bool = False, enabled: bool = True)[source]¶
Bases:
LinkBaseA raw link to a URL.
Attributes Summary
Whether the link is active
Whether the link is enabled
The URL to link to
Methods Summary
__tag__()Attributes Documentation
- active: bool¶
Whether the link is active
- enabled: bool¶
Whether the link is enabled
- url: str¶
The URL to link to
Methods Documentation
- __tag__() html_tag¶