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: LinkBase

A raw link to a URL.

Attributes Summary

a

active

Whether the link is active

enabled

Whether the link is enabled

text

url

The URL to link to

Methods Summary

__tag__()

Attributes Documentation

a: Tag¶
active: bool¶

Whether the link is active

enabled: bool¶

Whether the link is enabled

text: Taggable | dom_tag | str | Iterable[Taggable | dom_tag]¶
url: str¶

The URL to link to

Methods Documentation

__tag__() → html_tag¶

Bootlace

Navigation

Contents:

  • Getting Started
  • API Reference
    • Breadcrumbs
    • Forms
    • Bootstrap Icons
    • Images
    • Links
    • Navigation
    • Layout, sizing and colors
    • Tables
    • Tools and Utilities

Related Topics

  • Documentation overview
    • API Reference
      • Links
        • Previous: Links
        • Next: View
©2024, Alex Rudy. | Powered by Sphinx 8.1.3 & Alabaster 1.0.0 | Page source