(cb-checked? selected-cbs current-index option)
Query current option if it is checked
Query current option if it is checked
(checkbox-field selected-cbs label-txt options disabled)
Render checkbox fields with different options
Render checkbox fields with different options
(create-entity conf)
Call generate-form function with create entity parameters
Call generate-form function with create entity parameters
(edit-action conf)
Edit action configuration
Edit action configuration
(edit-entity conf)
Call entity-form function
Call entity-form function
(entity-delete conf)
Request entity to be deleted from server
Request entity to be deleted from server
(entity-delete-success xhr {conf :conf {table-fn :table-fn} :conf})
Entity delete success
Entity delete success
(entity-details conf)
Call entity-form function from generated entities table with details entity parameters
Call entity-form function from generated entities table with details entity parameters
(entity-form conf)
Request data about particular entity for display, edit/update
Request data about particular entity for display, edit/update
(entity-table-success xhr ajax-params)
Generate entity table after retrieving entities
Generate entity table after retrieving entities
(escape-html-tags value)
Escapes html tags from < and > into < and >
Escapes html tags from < and > into < and >
(find-input-fn field-type i)
Find fn that generates right input field type
Find fn that generates right input field type
(format-date date month year)
Formats date depending on selected language
Formats date depending on selected language
(framework-default-error xhr)
Framework default error function
Framework default error function
(gen-table conf & [sl-node event search-call])
Generate table with data
Generate table with data
(generate-card-view pagination conf entities columns actions)
Generates card view from entities
Generates card view from entities
(generate-field id value field-type & [attrs evts options])
Generate input field of particular type
Generate input field of particular type
(generate-form xhr ajax-params)
Generate entity form
Generate entity form
(generate-form-concrete xhr
{conf :conf
{action-label :action-label
form-type :form-type
table-fn :table-fn
allowed-actions :allowed-actions
disabled :disabled
reports-on :reports-on
action-p :action-p
{entity-type :type
entity-name :entity-name
fields :fields
entity-keys :fields-order}
:form-conf
action-fn :action-fn
action :action}
:conf})
Generate form fields
Generate form fields
(generate-pagination current-page number-of-pages show-link assoc-page)
Generate pagination row in thead
Generate pagination row in thead
(generate-pagination-bar pagination conf)
Generates clojure maps that represent pagination bar
Generates clojure maps that represent pagination bar
(generate-row-number-dropdown-options conf)
Generates row number dropdown options
Generates row number dropdown options
(generate-tbody entities columns actions)
Generate tbody for table
Generate tbody for table
(generate-thead table-class columns actions pagination conf)
Generate thead for table
Generate thead for table
(generate-ths columns actions)
Generate th and append style for that th and td column
Generate th and append style for that th and td column
(handle-paging {conf :conf
{query :query table-fn :table-fn} :conf
pagination :pagination
page :page})
Handle click event on pagination link
Handle click event on pagination link
(handle-selected-menu-item
{evt-fn :evt-fn evt-p :evt-p menu-change :menu-change}
&
[element event])
Handle menu selected items for framework
Handle menu selected items for framework
(image-field content attrs & [evts dyn-attrs])
Render img html field and hidden input field
Render img html field and hidden input field
(insert-action conf)
Insert action configuration
Insert action configuration
(insert-update-entity conf)
Insert or update entity
Insert or update entity
(insert-update-entity-success xhr
{url :url conf :conf {table-fn :table-fn} :conf})
After successful entity insert or update display table again
After successful entity insert or update display table again
(popup-fn {content :content heading :heading})
Append generated popup to body
Append generated popup to body
(read-preferences-fn)
Reads preferences from database
Reads preferences from database
(render-img {file-id :file-id img-id :img-id})
Render uploaded image
Render uploaded image
(search-entities-fn ajax-params)
Search entities by fields from configuration
Search entities by fields from configuration
(select-field content data attrs evts & [dyn-attrs])
Render select field
Render select field
(svg-five-column-icon & [evt])
Creates clojure maps for svg five columns icon
Creates clojure maps for svg five columns icon
(svg-four-column-icon & [evt])
Creates clojure maps for svg four columns icon
Creates clojure maps for svg four columns icon
(svg-one-column-icon & [evt])
Creates clojure maps for svg one column icon
Creates clojure maps for svg one column icon
(svg-table-icon & [evt entity-name])
Creates clojure maps for svg table icon
Creates clojure maps for svg table icon
(svg-three-column-icon & [evt])
Creates clojure maps for svg three columns icon
Creates clojure maps for svg three columns icon
(svg-two-column-icon & [evt])
Creates clojure maps for svg two columns icon
Creates clojure maps for svg two columns icon
(switch-view evt-p element event)
Switches table view to card view
Switches table view to card view
(textarea-field content attrs evts & [dyn-attrs])
Render select field
Render select field
(update-action conf)
Update action configuration
Update action configuration
(vec-contains? data el index)
If vector contains element
If vector contains element
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close