Toggles Interface
- class epyk.interfaces.components.CompIcons.Toggles(ui)
- collapse(icon_on='compress', icon_off='fas fa-expand', family=None, width=(None, 'px'), html_code=None, height=(None, 'px'), color=None, tooltip=None, align='left', options=None, profile=None) IconToggle
Usage:
page.ui.images.icon("fab fa-angellist")
Underlying HTML Objects:
Related Pages:
- Parameters:
icon_on – Optional. The component icon content from font-awesome references
icon_off – Optional. The component icon content from font-awesome references
family – Optional. The Icon library reference
html_code – Optional. An identifier for this component (on both Python and Javascript side)
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
color – Optional. The font color in the component. Default inherit
tooltip – Optional. A string with the value of the tooltip
align – Optional. The text-align property within this component
options – Optional. Specific Python options available for this component
profile – Optional. A flag to set the component performance storage
- lock(icon_on='lock_open', icon_off='fas fa-lock', family=None, width=(None, 'px'), html_code=None, height=(None, 'px'), color=None, tooltip=None, align='left', options=None, profile=None) IconToggle
Add a lock toggle button.
Usage:
page.ui.icons.toggles.lock()
Underlying HTML Objects:
Related Pages:
- Parameters:
icon_on – Optional. The component icon content from font-awesome references
icon_off – Optional. The component icon content from font-awesome references
family – Optional. The Icon library reference
html_code – Optional. An identifier for this component (on both Python and Javascript side)
width – Optional. A tuple with the integer for the component width and its unit
height – Optional. A tuple with the integer for the component height and its unit
color – Optional. The font color in the component. Default inherit
tooltip – Optional. A string with the value of the tooltip
align – Optional. The text-align property within this component
options – Optional. Specific Python options available for this component
profile – Optional. A flag to set the component performance storage