Poller Interface

class epyk.interfaces.components.CompPollers.Poller(ui)
live(time, js_funcs=None, components=None, icon: str = 'circle', width: Union[tuple, int] = (15, 'px'), height: Union[tuple, int] = (15, 'px'), align: str = 'left', html_code: Optional[str] = None, profile: Optional[Union[bool, dict]] = None, options: Optional[dict] = None)
Tags:

Categories:

Usage:

:param time: Integer. Interval time in second.
:param js_funcs: String | List. The Javascript functions.
:param components: List. HTML components to be triggered when activated.
:param icon: String. Optional. The font awesome icon reference.
:param width: Tuple. Optional. A tuple with the integer for the component width and its unit.
:param height: Tuple. Optional. A tuple with the integer for the component height and its unit.
:param align: String. Optional. A string with the horizontal position of the component.
:param html_code: String. Optional. An identifier for this component (on both Python and Javascript side).
:param options: Dictionary. Optional. Specific Python options available for this component.
:param profile: Boolean | Dictionary. Optional. A flag to set the component performance storage.
toggle(time, js_funcs=None, components=None, label: Optional[str] = None, color: Optional[str] = None, width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (20, 'px'), align: str = 'left', html_code: Optional[str] = None, options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)
Tags:

Categories:

Usage:

:param time: Integer. Interval time in second.
:param js_funcs: String | List. The Javascript functions.
:param components: List. HTML components to be triggered when activated.
:param label: String. Optional. The text of label to be added to the component
:param color: String. Optional. The font color in the component. Default inherit.
:param width: Tuple. Optional. A tuple with the integer for the component width and its unit.
:param height: Tuple. Optional. A tuple with the integer for the component height and its unit.
:param align: String. Optional. A string with the horizontal position of the component.
:param html_code: String. Optional. An identifier for this component (on both Python and Javascript side).
:param options: Dictionary. Optional. Specific Python options available for this component.
:param profile: Boolean | Dictionary. Optional. A flag to set the component performance storage.