class documentation

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 expandableItemId Undocumented
Method labelClass Undocumented
Method labelForExpandableItemId Undocumented
Class Variable last_ExpandableItem_id Undocumented
Instance Variable _contents Undocumented
Instance Variable _do_not_expand Undocumented
Instance Variable _id Undocumented

Inherited from LinkOnlyItem:

Method name Undocumented
Instance Variable child Undocumented
Instance Variable documented_ob Undocumented
def __init__(self, loader: ITemplateLoader, child: Documentable, documented_ob: Documentable, contents: ObjContent, do_not_expand: bool = False): (source)
@renderer
def contents(self, request: IRequest, tag: Tag) -> ObjContent: (source)

Undocumented

@renderer
def expandableItemId(self, request: IRequest, tag: Tag) -> str: (source)

Undocumented

@renderer
def labelClass(self, request: IRequest, tag: Tag) -> str: (source)

Undocumented

@renderer
def labelForExpandableItemId(self, request: IRequest, tag: Tag) -> str: (source)

Undocumented

last_ExpandableItem_id: int = (source)

Undocumented

_contents = (source)

Undocumented

_do_not_expand = (source)

Undocumented

Undocumented