Liking cljdoc? Tell your friends :D
ClojureScript only.

ant.design.notification

Display a notification message globally.

When to use: To display a notification message at any of the four corners of the viewport. Typically it can be used in the following cases: - A notification with complex content - A notification providing a feedback based on the user interaction Or it may show some details about upcoming steps the user may have to follow - A notification that is pushed by the application

Display a notification message globally.

When to use:
  To display a notification message at any of the four corners of the viewport.
  Typically it can be used in the following cases:
    - A notification with complex content
    - A notification providing a feedback based on the user interaction
      Or it may show some details about upcoming steps the user may have
      to follow
    - A notification that is pushed by the application
raw docstring

closecljs

(close key)

Close notification. Usage: (close :key)

Returns: nil

Close notification.
Usage:
  (close :key)

Returns:
  nil
sourceraw docstring

configurecljs

(configure options)

Set global configuration for all notifications. Usage: (configure {:top 24 :bottom 24 :duration 2 :placement "topRight"}) Returns: nil

Set global configuration for all notifications.
Usage:
  (configure {:top       24
              :bottom    24
              :duration  2
              :placement "topRight"})
Returns:
  nil
sourceraw docstring

destroycljs

(destroy)

Destroy notification. Usage: (destroy)

Returns: nil

Destroy notification.
Usage:
  (destroy)

Returns:
  nil
sourceraw docstring

showcljs

(show {:as config :keys [level duration on-click on-close]})

Show notification. Usage: (show {:level :success :message "Notification title..." :description "Notification content..." :duration 3 :on-click #(js/console.log :callback/on-click) :on-close #(js/console.log :callback/on-close)}) Returns: nil

Show notification.
Usage:
  (show {:level       :success
         :message     "Notification title..."
         :description "Notification content..."
         :duration    3
         :on-click    #(js/console.log :callback/on-click)
         :on-close    #(js/console.log :callback/on-close)})
Returns:
  nil
sourceraw docstring

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

× close