(->seq path-or-key)
Ensures key is a sequence suitable for using with get-in
Ensures key is a sequence suitable for using with get-in
(browser-support-input-type? input-type)
More info: http://diveintohtml5.info/detect.html#input-types
(el-data el key)
Example:
<div data-example=':something'></div>
(el-data el :example) :something
Example: <div data-example=':something'></div> (el-data el :example) :something
(exclude-item-at-pos v p)
Given a vector and position number, will return a new vector with the element excluded.
Note: Indext start at 0
Example: (exclude-item-at-pos [1 2 3] 1)) [1 3]
Given a vector and position number, will return a new vector with the element excluded. Note: Indext start at 0 Example: (exclude-item-at-pos [1 2 3] 1)) [1 3]
(get-utc-formatted-date date)
Example:
(get-date #inst '1990-06-09') '09/06/1990'
Example: (get-date #inst '1990-06-09') '09/06/1990'
(get-window-boundaries!)
Get js/window bounderies {:width, :height} Note: fn with side-effects
Get js/window bounderies {:width, :height} Note: fn with side-effects
(make-childs tag & childs)
Build all alternative for sablono
Build all alternative for sablono
(zero-pad s len)
Given a 0 string will return a new string with 0 paddings to the begining of the string.
Example: (zero-pad '01' 1) '001'
Given a 0 string will return a new string with 0 paddings to the begining of the string. Example: (zero-pad '01' 1) '001'
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close