class documentation
Displays a snackbar style toast element.
Examples:
- schema = {
"message": "Test", "duration": 30000, "layout": {
"vertical": "top", "horizontal": "center", "top": "200px"
},
} snackbar = types.ToastView(**schema) panel.obj("toast", view=snackbar)
Parameters | |
message | the message to display |
duration | the duration to stay on screen in milliseconds |
layout | the layout of the toast |
Method | __init__ |
Undocumented |
Inherited from View
:
Method | clone |
Undocumented |
Method | kwargs |
Undocumented |
Method | to |
Undocumented |
Instance Variable | caption |
Undocumented |
Instance Variable | component |
Undocumented |
Instance Variable | components |
Undocumented |
Instance Variable | container |
Undocumented |
Instance Variable | description |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | placeholder |
Undocumented |
Instance Variable | read |
Undocumented |
Instance Variable | space |
Undocumented |
Instance Variable | _kwargs |
Undocumented |