HtmlDrawer Module

class epyk.core.html.HtmlDrawer.Drawer(page: PageModel, width: tuple, height: tuple, options: Optional[dict], helper: Optional[str], profile: Optional[Union[bool, dict]])
add_panel(link: Union[Html, str], container: Html, display: bool = False)

Add panel to the drawer object.

Parameters:
  • link – The value in the drawer

  • container – The component to be displayed

  • display – Optional. The CSS Display property

property dom: Drawer

Property to get the common dom features.

property options: OptionDrawer

Property to set all the possible object for a drawer.

set_handle(component: Html)

Set the handle used to trigger the open / close events.

Parameters:

component – An HTML component.

property style: ClassDrawer

Get the CSS Style of the object.

class epyk.core.html.HtmlDrawer.DrawerMulti(page: PageModel, component: Html, width: tuple, height: tuple, options: Optional[dict], helper: Optional[str], profile: Optional[Union[bool, dict]])
add_drawer(link: Union[str, Html], container: Html)

Add panel to the drawer object.

Parameters:
  • link – The value in the drawer

  • container – The component to be displayed

property dom: Drawer

Property to get the common dom features.

property options: OptionDrawer

Property to set all the possible object for a drawer.

property style: ClassDrawer

Get the CSS Style of the object.