li (function)

li(content='', span=False, disabled=False, submenuTitle=False, divider=False, navStyle=False, navDropDown=False, pager=False, pull=False, onPhone=True, onTablet=True, onDesktop=True, indent=False, hidden=False)[source]

Generate a li - TBS style

Key Arguments

  • content – the content (if a subMenu for dropdown this should be <ul>)

  • span – the column span [ False | 1-12 ]

  • disabled – add the disabled attribute on an grey out this list item. Note you can optionally swap anchors for spans to remove click functionality.

  • submenuTitle – if a submenu (<ul>) is to be included as content, use this as the title.

  • divider – if true this list item shall be a line

  • navStyle – how is the navigation element to be displayed? [ active | header ]

  • navDropDown – true if the list item is to be used as a dropdown in navigation

  • pager – use the <li> within a pager navigation? [ False | “previous” | “next” ]

Return

  • li – the li