stylefy.impl.dom
add-class
(add-class name properties)
add-font-face
(add-font-face properties)
add-keyframes
(add-keyframes identifier & frames)
add-tag
(add-tag name properties)
custom-classes-in-use
custom-tags-in-use
font-faces-in-use
init-cache
(init-cache options)
init-multi-instance
(init-multi-instance {:keys [multi-instance], :as options})
keyframes-in-use
save-style!
(save-style! {:keys [css hash], :as style})
Stores the style in an atom. The style is going to be added into the DOM soon.
style-by-hash
(style-by-hash style-hash)
style-in-dom?
(style-in-dom? style-hash)
stylefy-instance-id
styles-as-css
styles-in-dom
update-dom
(update-dom)