Liking cljdoc? Tell your friends :D

baredom.components.x-welcome-tour-step.model

Pure functions for the x-welcome-tour-step child element. This component is a passive data holder — the parent orchestrator reads its attributes and renders the tour UI.

Pure functions for the x-welcome-tour-step child element.
This component is a passive data holder — the parent orchestrator
reads its attributes and renders the tour UI.
raw docstring

allowed-connectorscljs

source

allowed-placementscljs

source

attr-connectorcljs

source

attr-cutout-paddingcljs

source

attr-cutout-radiuscljs

source

attr-placementcljs

source

attr-scroll-tocljs

source

attr-targetcljs

source

attr-titlecljs

source

default-placementcljs

source

event-connectedcljs

source

event-disconnectedcljs

source

event-schemacljs

source

normalizecljs

(normalize {:keys [target-raw title-raw placement-raw connector-raw
                   cutout-padding-raw cutout-radius-raw scroll-to-raw]})

Normalise raw attribute inputs into a stable view-model map.

Input keys: :target-raw string | nil :title-raw string | nil :placement-raw string | nil :connector-raw string | nil :cutout-padding-raw string | nil :cutout-radius-raw string | nil :scroll-to-raw string | nil (nil = attribute absent)

Output keys: :target string | nil :title string :placement string :connector string | nil (nil = inherit from parent) :cutout-padding number :cutout-radius number :scroll-to? boolean

Normalise raw attribute inputs into a stable view-model map.

Input keys:
  :target-raw          string | nil
  :title-raw           string | nil
  :placement-raw       string | nil
  :connector-raw       string | nil
  :cutout-padding-raw  string | nil
  :cutout-radius-raw   string | nil
  :scroll-to-raw       string | nil   (nil = attribute absent)

Output keys:
  :target          string | nil
  :title           string
  :placement       string
  :connector       string | nil  (nil = inherit from parent)
  :cutout-padding  number
  :cutout-radius   number
  :scroll-to?      boolean
sourceraw docstring

observed-attributescljs

source

parse-connectorcljs

(parse-connector s)

Normalise a raw connector string. Returns nil when absent (inherit from parent).

Normalise a raw connector string. Returns nil when absent (inherit from parent).
sourceraw docstring

parse-cutout-paddingcljs

(parse-cutout-padding s)

Parse cutout-padding to a non-negative number. Defaults to 8.

Parse cutout-padding to a non-negative number. Defaults to 8.
sourceraw docstring

parse-cutout-radiuscljs

(parse-cutout-radius s)

Parse cutout-radius to a non-negative number. Defaults to 4.

Parse cutout-radius to a non-negative number. Defaults to 4.
sourceraw docstring

parse-placementcljs

(parse-placement s)

Normalise a raw placement string. Falls back to default-placement if invalid.

Normalise a raw placement string. Falls back to default-placement if invalid.
sourceraw docstring

parse-scroll-tocljs

(parse-scroll-to s)

Parse scroll-to attribute. Defaults to true when absent (presence-based but default-on; only false when explicitly set to "false").

Parse scroll-to attribute. Defaults to true when absent (presence-based but
default-on; only false when explicitly set to "false").
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