{# params: # Message displayed in alert message: str = "Success" # Hyperscript to execute on alert hyperscript: str = "on load wait 5s then transition opacity to 0 then remove me" # Determine alert class based on success status success: bool = False # Alert div ID id: Optional[str] = None # Optionally pass in an exception exception: Optional[Exception] = None # overrides automatic class determined by `param: success` class: Optional[str] = None #}