antizer.core

antd-module

call-func

(call-func module-name & args)

Calls the ant module function

call-js-func

(call-js-func func & args)

Calls a javascript function, converting the keys for any arguments that are hashmaps from kebab case to camel case

  • func - the native javascript to be called

get-module-path

(get-module-path module-name)

get-prop

(get-prop module-name prop)

Retreives the value of the module’s property

kebab-case->camel-case

(kebab-case->camel-case input)

Converts from kebab case to camel case, eg: on-click to onClick

map-keys->camel-case

(map-keys->camel-case data & {:keys [html-props]})

Stringifys all the keys of a cljs hashmap and converts them from kebab case to camel case. If :html-props option is specified, then rename the html properties values to their dom equivalent before conversion