Liking cljdoc? Tell your friends :D

app.components.x-toaster.model


attr-labelcljs

source

attr-max-toastscljs

source

attr-positioncljs

source

bottom-position?cljs

(bottom-position? position)

Returns true when position places the toaster at the bottom of the viewport.

Returns true when position places the toaster at the bottom of the viewport.
sourceraw docstring

center-position?cljs

(center-position? position)

Returns true when position uses horizontal centering.

Returns true when position uses horizontal centering.
sourceraw docstring

child-dismiss-reason-toastercljs

source

child-event-dismisscljs

source

child-tagcljs

source

dismiss-detailcljs

(dismiss-detail type reason heading message)

Build event detail map for x-toaster-dismiss from the child x-toast-dismiss detail.

Build event detail map for x-toaster-dismiss from the child x-toast-dismiss detail.
sourceraw docstring

event-dismisscljs

source

event-schemacljs

source

normalizecljs

(normalize {:keys [position-raw max-toasts-raw label-raw]})

Produce a stable view-model map from raw attribute inputs.

Input keys: :position-raw string | nil :max-toasts-raw string | nil :label-raw string | nil

Output keys: :position string — one of the six valid position values :max-toasts number — positive integer (default 5) :label string — aria-label for the region (default "Notifications")

Produce a stable view-model map from raw attribute inputs.

Input keys:
  :position-raw    string | nil
  :max-toasts-raw  string | nil
  :label-raw       string | nil

Output keys:
  :position   string — one of the six valid position values
  :max-toasts number — positive integer (default 5)
  :label      string — aria-label for the region (default "Notifications")
sourceraw docstring

observed-attributescljs

source

parse-max-toastscljs

(parse-max-toasts s)

Parse max-toasts to a positive integer; fallback to 5.

Parse max-toasts to a positive integer; fallback to 5.
sourceraw docstring

parse-positioncljs

(parse-position s)

Normalise position attribute to a valid enum value; fallback to "top-end".

Normalise position attribute to a valid enum value; fallback to "top-end".
sourceraw docstring

property-apicljs

source

tag-namecljs

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close