Liking cljdoc? Tell your friends :D

om-widgets.utils


->seqcljs

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

atom?cljs

(atom? x)
source

browser-support-input-type?cljs

(browser-support-input-type? input-type)
More info: http://diveintohtml5.info/detect.html#input-types
sourceraw docstring

el-datacljs

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

exclude-item-at-poscljs

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

formatcljs

(format fmt & args)
source

get-utc-formatted-datecljs

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

get-window-boundaries!cljs

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

glyphcljs

(glyph icon)
source

make-childscljs

(make-childs tag & childs)

Build all alternative for sablono

Build all alternative for sablono
sourceraw docstring

om-getcljs

(om-get tgt key)
source

om-update!cljs

(om-update! tgt key value)
source

re-quotecljs

(re-quote s)
source

zero-padcljs

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

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

× close