(add-class elements single-class)
Add class to elements collection
Add class to elements collection
(add-fn-to-event element event-type event-function & [fn-params])
Add function to event for particular element
Add function to event for particular element
(ancestor element ancestor-level)
Finds ancestor of an element at particular level
Finds ancestor of an element at particular level
(append-element selector html-content)
Append html string in elements fetched by selector
Append html string in elements fetched by selector
(cb-checked-values checkbox-group-name)
Checks which values are checked in checkbox group and packs them in vector
Checks which values are checked in checkbox group and packs them in vector
(checked-value radio-group-name)
Query dom for input html radio group by name and find if the choice was made
Query dom for input html radio group by name and find if the choice was made
(checked-value-with-index radio-group-elements index)
Iterate through html radio elements and check if any of them is checked, if html radio element is checked, return it's value
Iterate through html radio elements and check if any of them is checked, if html radio element is checked, return it's value
(contains-class elements single-class)
Remove class from elements collection
Remove class from elements collection
(content selector html-content)
Empty fetched elements by selector and append html string
Empty fetched elements by selector and append html string
(convert-to-vector node-list)
Convert html NodeList object to clojure vector
Convert html NodeList object to clojure vector
(determine-param-type exec-fn param)
Determine if param is string or html type of object
Determine if param is string or html type of object
(dispatch-event event elem & [window-obj])
Dispatch event on element from window-obj
Dispatch event on element from window-obj
(element-exists selector)
Check if fade in style exists in DOM
Check if fade in style exists in DOM
(empty-nodes selector)
Empty elements feched by selector
Empty elements feched by selector
(end-please-wait)
Hide please wait message
Hide please wait message
(end-progress-bar)
Hide progress bar message
Hide progress bar message
(event element event-type event-function & [fn-params])
Bind function to event on elements fetched by selector
(event element "onclick" event-function [1 2 3])
element Represents selector or html element event-type Represents html event, like onclick, onload... event-function Represents function name [fn-params] Represents vector that will be passed to event function
Bind function to event on elements fetched by selector (event element "onclick" event-function [1 2 3]) element Represents selector or html element event-type Represents html event, like onclick, onload... event-function Represents function name [fn-params] Represents vector that will be passed to event function
(fade-anim-append delay-time
style-id
animation-name-class
from-opacity
to-opacity)
Append fade in style to head
Append fade in style to head
(fade-in selector
html-content
delay-time
&
[style-identification animation-name-class from-opacity to-opacity])
Fade in html string content in elements fetched by selector during delay time
parameters: selector query document with this selector html-content String or HTMLObject that will be inserted delay-time fade-in duration time
style-identification id of style html element that will be generated and appended animation-name-class generating style html element, this parameter will be used for animation and class name from-opacity number from 0.0 to 1.0 that will specify starting opacity of fading element to-opacity number from 0.0 to 1.0 that will specify ending opacity of fading element
Fade in html string content in elements fetched by selector during delay time parameters: selector query document with this selector html-content String or HTMLObject that will be inserted delay-time fade-in duration time style-identification id of style html element that will be generated and appended animation-name-class generating style html element, this parameter will be used for animation and class name from-opacity number from 0.0 to 1.0 that will specify starting opacity of fading element to-opacity number from 0.0 to 1.0 that will specify ending opacity of fading element
(fade-in-iteration ch-node sl-node anim-name-class style-id delay-time)
Set class on element to fade in, and and then append element to selected node
Set class on element to fade in, and and then append element to selected node
(fade-out selector
delay-time
&
[style-identification only-content animation-name-class from-opacity
to-opacity])
Fade out html string content in elements fetched by selector during delay time
parameters: selector query document with this selector delay-time fade-out duration time
style-identification id of style html element that will be generated and appended only-content when removing faded element true for only for content to be remove false for element, fetched with selector, to be removed animation-name-class generating style html element, this parameter will be used for animation and class name from-opacity number from 0.0 to 1.0 that will specify starting opacity of fading element to-opacity number from 0.0 to 1.0 that will specify ending opacity of fading element
Fade out html string content in elements fetched by selector during delay time parameters: selector query document with this selector delay-time fade-out duration time style-identification id of style html element that will be generated and appended only-content when removing faded element true for only for content to be remove false for element, fetched with selector, to be removed animation-name-class generating style html element, this parameter will be used for animation and class name from-opacity number from 0.0 to 1.0 that will specify starting opacity of fading element to-opacity number from 0.0 to 1.0 that will specify ending opacity of fading element
(fade-out-and-fade-in selector anim-duration html-content)
Automation fade in fade out of an element
Automation fade in fade out of an element
(find-event-type event index)
Find event type of predefined types
Find event type of predefined types
(get-all-siblings element)
Return all siblings
Return all siblings
(get-attr element attr-name)
Get attribute's value of element
Get attribute's value of element
(get-by-class element-class)
Select elements by class returns collection of elements (html nodes)
Select elements by class returns collection of elements (html nodes)
(get-by-id element-id)
Select element by id returns single element (html node)
Select element by id returns single element (html node)
(get-checked element)
Returns elements checked
Returns elements checked
(get-child-nodes element)
Fetch child nodes of element param
Fetch child nodes of element param
(get-class-list element)
Get classList property
Get classList property
(get-inner-html element)
Get innerHTML property of first element feched by selector
Get innerHTML property of first element feched by selector
(get-next-siblings element)
Return vector of next siblings
Return vector of next siblings
(get-node-name element)
Get nodeName property
Get nodeName property
(get-outer-html selector)
Get outerHTML property of first element feched by selector
Get outerHTML property of first element feched by selector
(get-parent element)
Get parentNode property
Get parentNode property
(get-previous-siblings element)
Return vector of previous siblings
Return vector of previous siblings
(get-selected-options element)
Get values of property selectedOptions and pack them in vector
Get values of property selectedOptions and pack them in vector
(get-src element)
Returns elements src attribute value
Returns elements src attribute value
(get-value-as-date element)
Returns elements value
Returns elements value
(get-value-as-number element)
Returns elements value
Returns elements value
(html? data)
Is data fn parameter HTML element
Is data fn parameter HTML element
(init-event event & [window-obj])
Initialize event for particular event object
Initialize event for particular event object
(is-checked? element)
Return value of checked property from html element
Return value of checked property from html element
(parse-html html-content)
Parses html from string
Parses html from string
(prepend-element selector html-content)
Prepend html string in elements fetched by selector
Prepend html string in elements fetched by selector
(query-selector selector)
Select first element of what css selector fetches from document returns single element (html node)
Select first element of what css selector fetches from document returns single element (html node)
(query-selector-all selector)
Select all element of what css selector fetches from document returns collection of elements (html nodes)
Select all element of what css selector fetches from document returns collection of elements (html nodes)
(query-selector-all-on-element element selector)
Select all element of what css selector fetches from element param returns collection of elements (html nodes)
Select all element of what css selector fetches from element param returns collection of elements (html nodes)
(query-selector-on-element element selector)
Select first element of what css selector fetches from element param returns single element (html node)
Select first element of what css selector fetches from element param returns single element (html node)
(remove-all-event element event-type)
Remove all functions from executing after an event has occurred on particular element/s
Remove all functions from executing after an event has occurred on particular element/s
(remove-all-fns-from-event element event-type)
Remove all functions from executing after an event has occurred on particular element
Remove all functions from executing after an event has occurred on particular element
(remove-class elements single-class)
Remove class from elements collection
Remove class from elements collection
(remove-element selector)
Remove elements fetched by selector
Remove elements fetched by selector
(remove-element-content selector)
Remove content from elements fetched by selector
Remove content from elements fetched by selector
(remove-element-from-element element selector)
Remove elements fetched by selector
Remove elements fetched by selector
(remove-event element event-type event-function)
Remove function from event on elements fetched by selector
(remove-event element "onclick" event-function))
element Represents selector or html element event-type Represents html event, like onclick, onload... event-function Represents function name
Remove function from event on elements fetched by selector (remove-event element "onclick" event-function)) element Represents selector or html element event-type Represents html event, like onclick, onload... event-function Represents function name
(remove-fn-from-event element event-type event-function)
Remove particular function from executing after an event has occurred
Remove particular function from executing after an event has occurred
(replace-all str-content replace-this replace-with)
Replace every occurance of supplied string
Replace every occurance of supplied string
(replace-single str-content replace-this replace-with)
Replace first occurrence of string in first parameter
Replace first occurrence of string in first parameter
(set-attr element attr-name value)
Set attribute's value of element
Set attribute's value of element
(set-attrs elements attr-name value)
Set attribute's value of elements collection
Set attribute's value of elements collection
(set-checked element new-value)
Sets element's checked
Sets element's checked
(set-inner-html selector html-content)
Set html-content as innerHTML property of elements feched by selector
Set html-content as innerHTML property of elements feched by selector
(set-outer-html selector html-content)
Set html-content as outerHTML property of elements feched by selector
Set html-content as outerHTML property of elements feched by selector
(set-value element new-value)
Sets element's value
Sets element's value
(start-please-wait)
Display please wait message
Display please wait message
(start-progress-bar)
Display progress bar message
Display progress bar message
(timeout execute-fn delay-time)
Delay function execution by milliseconds
Delay function execution by milliseconds
(update-progress-bar progress-value & [color1 color2])
Update percentage of progress bar
Update percentage of progress bar
(xpath selector)
(xpath '//div[contains(text(), 'Searched text')]')
(xpath '//div[contains(text(), 'Searched text')]')
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close