Liking cljdoc? Tell your friends :D
ClojureScript only.

ant.design.message

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
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
raw docstring

configurecljs

(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
sourceraw docstring

destroycljs

(destroy)

Destroy message. Usage: (destroy)

Returns: nil

Destroy message.
Usage:
  (destroy)

Returns:
  nil
sourceraw docstring

showcljs

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close