HtmlStepper Module
- class epyk.core.html.HtmlStepper.Step(component: Stepper, selector: Html)
- click(js_funcs: Union[List[Union[str, JsDataModel]], str], profile: Optional[Union[bool, dict]] = None)
Add a click event to the component.
- Parameters:
js_funcs – Javascript functions
profile – Optional. A flag to set the component performance storage
- class epyk.core.html.HtmlStepper.Stepper(page: PageModel, records: list, width: tuple, height: tuple, color: Optional[str], options: Optional[dict], profile: Optional[Union[bool, dict]])
- add_shape(shape: str, shape_def: str, dependencies: Optional[list] = None)
Add a bespoke shape for the stepper component.
- Parameters:
shape – The reference of the shape
shape_def – The shape JavaScript definition
dependencies – Optional. The external module dependencies
- property dom: Stepper
Return all the Javascript functions defined for an HTML Component.
Those functions will use plain javascript by default.
- property options: OptionsStepper
Property to set all the possible object for a button.