Slidings Interface
- class epyk.interfaces.components.CompPanels.Slidings(ui)
- left(components: List[Html], title: str = '', color: Optional[str] = None, align: str = 'center', width: Optional[Union[tuple, int, str]] = (100, '%'), height: Optional[Union[tuple, int, str]] = (None, 'px'), html_code: Optional[str] = None, helper: Optional[str] = None, options: Optional[Union[bool, dict]] = None, profile: Optional[Union[bool, dict]] = None)
Sliding panels with the arrow on the left.
- Tags:
- Categories:
Usage:
:param components: The different HTML objects to be added to the component. :param title: Optional. A panel title. This will be attached to the title property. :param color: Optional. The font color in the component. Default inherit. :param align: The text-align property within this component. :param width: Optional. A tuple with the integer for the component width and its unit. :param height: Optional. A tuple with the integer for the component height and its unit. :param html_code: Optional. An identifier for this component (on both Python and Javascript side). :param helper: Optional. A tooltip helper. :param options: Optional. Specific Python options available for this component. :param profile: Optional. A flag to set the component performance storage.
- plus(components, title: str = '', color: Optional[str] = None, align: str = 'center', width: Optional[Union[tuple, int, str]] = (100, '%'), height: Optional[Union[tuple, int, str]] = (None, 'px'), html_code: Optional[str] = None, helper: Optional[str] = None, options: Optional[Union[bool, dict]] = None, profile: Optional[Union[bool, dict]] = None)
Same component than sliding with a different style.
- Tags:
- Categories:
Usage:
:param components: The different HTML objects to be added to the component. :param title: Optional. A panel title. This will be attached to the title property. :param color: Optional. The font color in the component. Default inherit. :param align: Optional. The text-align property within this component. :param width: Optional. A tuple with the integer for the component width and its unit. :param height: Optional. A tuple with the integer for the component height and its unit. :param html_code: Optional. An identifier for this component (on both Python and Javascript side). :param helper: Optional. A tooltip helper. :param options: Optional. Specific Python options available for this component. :param profile: Optional. A flag to set the component performance storage.
- right(components: List[Html], title: str = '', color=None, align='center', width=(100, '%'), height=(None, 'px'), html_code=None, helper=None, options=None, profile=False)
Sliding panels with the arrow on the right.
- Tags:
- Categories:
Usage:
:param components: The different HTML objects to be added to the component. :param title: Optional. A panel title. This will be attached to the title property. :param color: Optional. The font color in the component. Default inherit. :param align: Optional. The text-align property within this component. :param width: Optional. A tuple with the integer for the component width and its unit. :param height: Optional. A tuple with the integer for the component height and its unit. :param html_code: Optional. An identifier for this component (on both Python and Javascript side). :param helper: Optional. A tooltip helper. :param options: Optional. Specific Python options available for this component. :param profile: Optional. A flag to set the component performance storage.