Liking cljdoc? Tell your friends :D

framework-lib.core


cb-checked?cljs

(cb-checked? selected-cbs current-index option)

Query current option if it is checked

Query current option if it is checked
sourceraw docstring

checkbox-fieldcljs

(checkbox-field selected-cbs label-txt options disabled)

Render checkbox fields with different options

Render checkbox fields with different options
sourceraw docstring

close-popupcljs

(close-popup)

Close popup

Close popup
sourceraw docstring

create-entitycljs

(create-entity conf)

Call generate-form function with create entity parameters

Call generate-form function with create entity parameters
sourceraw docstring

create-to-show-allcljs

source

edit-actioncljs

(edit-action conf)

Edit action configuration

Edit action configuration
sourceraw docstring

edit-entitycljs

(edit-entity conf)

Call entity-form function

Call entity-form function
sourceraw docstring

entity-deletecljs

(entity-delete conf)

Request entity to be deleted from server

Request entity to be deleted from server
sourceraw docstring

entity-delete-successcljs

(entity-delete-success xhr {conf :conf {table-fn :table-fn} :conf})

Entity delete success

Entity delete success
sourceraw docstring

entity-detailscljs

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

entity-formcljs

(entity-form conf)

Request data about particular entity for display, edit/update

Request data about particular entity for display, edit/update
sourceraw docstring

entity-table-successcljs

(entity-table-success xhr ajax-params)

Generate entity table after retrieving entities

Generate entity table after retrieving entities
sourceraw docstring

entity-to-show-allcljs

source

escape-html-tagscljs

(escape-html-tags value)

Escapes html tags from < and > into < and >

Escapes html tags from < and > into &lt; and &gt;
sourceraw docstring

find-input-fncljs

(find-input-fn field-type i)

Find fn that generates right input field type

Find fn that generates right input field type
sourceraw docstring

format-datecljs

(format-date date month year)

Formats date depending on selected language

Formats date depending on selected language
sourceraw docstring

framework-default-errorcljs

(framework-default-error xhr)

Framework default error function

Framework default error function
sourceraw docstring

gen-tablecljs

(gen-table conf & [sl-node event search-call])

Generate table with data

Generate table with data
sourceraw docstring

generate-card-viewcljs

(generate-card-view pagination conf entities columns actions)

Generates card view from entities

Generates card view from entities
sourceraw docstring

generate-fieldcljs

(generate-field id value field-type & [attrs evts options])

Generate input field of particular type

Generate input field of particular type
sourceraw docstring

generate-formcljs

(generate-form xhr ajax-params)

Generate entity form

Generate entity form
sourceraw docstring

generate-form-concretecljs

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

generate-paginationcljs

(generate-pagination current-page number-of-pages show-link assoc-page)

Generate pagination row in thead

Generate pagination row in thead
sourceraw docstring

generate-pagination-barcljs

(generate-pagination-bar pagination conf)

Generates clojure maps that represent pagination bar

Generates clojure maps that represent pagination bar
sourceraw docstring

generate-row-number-dropdown-optionscljs

(generate-row-number-dropdown-options conf)

Generates row number dropdown options

Generates row number dropdown options
sourceraw docstring

generate-tbodycljs

(generate-tbody entities columns actions)

Generate tbody for table

Generate tbody for table
sourceraw docstring

generate-theadcljs

(generate-thead table-class columns actions pagination conf)

Generate thead for table

Generate thead for table
sourceraw docstring

generate-thscljs

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

handle-pagingcljs

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

handle-selected-menu-itemcljs

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

image-fieldcljs

(image-field content attrs & [evts dyn-attrs])

Render img html field and hidden input field

Render img html field and hidden input field
sourceraw docstring

input-typescljs

source

insert-actioncljs

(insert-action conf)

Insert action configuration

Insert action configuration
sourceraw docstring

insert-update-entitycljs

(insert-update-entity conf)

Insert or update entity

Insert or update entity
sourceraw docstring

insert-update-entity-successcljs

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

is-called-read-preferences-acljs

source

no-changecljs

source

(popup-fn {content :content heading :heading})

Append generated popup to body

Append generated popup to body
sourceraw docstring

read-preferences-a-fncljs

source

read-preferences-fncljs

(read-preferences-fn)

Reads preferences from database

Reads preferences from database
sourceraw docstring

render-imgcljs

(render-img {file-id :file-id img-id :img-id})

Render uploaded image

Render uploaded image
sourceraw docstring

save-preferences-a-fncljs

source

search-entities-fncljs

(search-entities-fn ajax-params)

Search entities by fields from configuration

Search entities by fields from configuration
sourceraw docstring

select-fieldcljs

(select-field content data attrs evts & [dyn-attrs])

Render select field

Render select field
sourceraw docstring

show-all-to-entitycljs

source

svg-five-column-iconcljs

(svg-five-column-icon & [evt])

Creates clojure maps for svg five columns icon

Creates clojure maps for svg five columns icon
sourceraw docstring

svg-four-column-iconcljs

(svg-four-column-icon & [evt])

Creates clojure maps for svg four columns icon

Creates clojure maps for svg four columns icon
sourceraw docstring

svg-one-column-iconcljs

(svg-one-column-icon & [evt])

Creates clojure maps for svg one column icon

Creates clojure maps for svg one column icon
sourceraw docstring

svg-table-iconcljs

(svg-table-icon & [evt entity-name])

Creates clojure maps for svg table icon

Creates clojure maps for svg table icon
sourceraw docstring

svg-three-column-iconcljs

(svg-three-column-icon & [evt])

Creates clojure maps for svg three columns icon

Creates clojure maps for svg three columns icon
sourceraw docstring

svg-two-column-iconcljs

(svg-two-column-icon & [evt])

Creates clojure maps for svg two columns icon

Creates clojure maps for svg two columns icon
sourceraw docstring

switch-viewcljs

(switch-view evt-p element event)

Switches table view to card view

Switches table view to card view
sourceraw docstring

textarea-fieldcljs

(textarea-field content attrs evts & [dyn-attrs])

Render select field

Render select field
sourceraw docstring

update-actioncljs

(update-action conf)

Update action configuration

Update action configuration
sourceraw docstring

vec-contains?cljs

(vec-contains? data el index)

If vector contains element

If vector contains element
sourceraw docstring

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

× close