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

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

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-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
                          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-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

no-changecljs

source

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

Append generated popup to body

Append generated popup to body
sourceraw docstring

render-imgcljs

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

Render uploaded image

Render uploaded image
sourceraw docstring

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

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