msaJustPyUI Module¶
.jpcore.webpage
¶
Created on 2022-09-02 modified version, original from JustPy @author: wf (modification swelcker)
Classes¶
WebPage ¶
a web page
Attributes¶
allowed_events
class-attribute
¶
allowed_events = [
"click",
"visibilitychange",
"page_ready",
"result_ready",
"keydown",
"keyup",
"keypress",
]
Functions¶
on ¶
add an event of the given event_type with the given function
PARAMETER | DESCRIPTION |
---|---|
event_type |
the type of the event without on_prefix
TYPE:
|
func |
the function to call (Callable)
TYPE:
|
update
async
¶
update the Webpage
PARAMETER | DESCRIPTION |
---|---|
websocket |
The websocket to use (if any)
DEFAULT:
|
Last update:
September 28, 2022
Created: September 28, 2022
Created: September 28, 2022