class documentation
class ExpandableItem(LinkOnlyItem): (source)
Constructor: ExpandableItem(loader, child, documented_ob, contents, do_not_expand)
Sidebar expandable item: link to an object and have a triangle that expand/collapse it's contents
Used by ContentItem.expandableItem
Note | |
ExpandableItem can be created with do_not_expand flag. This will generate a expandable item with a special notExpandable CSS class. It differs from LinkOnlyItem , wich do not show the expand button, here we show it but we make it unusable by assinging an empty CSS ID. |
Method | __init__ |
Undocumented |
Method | contents |
Undocumented |
Method | expandable |
Undocumented |
Method | label |
Undocumented |
Method | label |
Undocumented |
Class Variable | last_ |
Undocumented |
Instance Variable | _contents |
Undocumented |
Instance Variable | _do |
Undocumented |
Instance Variable | _id |
Undocumented |
Inherited from LinkOnlyItem
:
Method | name |
Undocumented |
Instance Variable | child |
Undocumented |
Instance Variable | documented |
Undocumented |
def __init__(self, loader:
ITemplateLoader
, child: Documentable
, documented_ob: Documentable
, contents: ObjContent
, do_not_expand: bool
= False):
(source)
¶
Undocumented