Display global messages as feedback in response to user operations.
When to use:
Display global messages as feedback in response to user operations. When to use: - To provide feedback such as success, warning, error etc - A message is displayed at top and center and will be dismissed automatically, as a non-interrupting light-weighted prompt
(configure options)
Set global configuration for all messages. Usage: (configure {:top 24 :duration 2 :maxCount 3}) Returns: nil
Set global configuration for all messages. Usage: (configure {:top 24 :duration 2 :maxCount 3}) Returns: nil
(destroy)
Destroy message. Usage: (destroy)
Returns: nil
Destroy message. Usage: (destroy) Returns: nil
(show {:keys [level content duration on-close after-close]})
Show message. Usage: (show {:level :loading :content "Action in progress..." :duration 3 :on-close #(js/console.log :callback/on-close) :after-close #(js/console.log :callback/after-close)}) Returns: Promise
Show message. Usage: (show {:level :loading :content "Action in progress..." :duration 3 :on-close #(js/console.log :callback/on-close) :after-close #(js/console.log :callback/after-close)}) Returns: Promise
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close