Documentation

website.components.ui.controls

<burger>

(<burger> id model on-change)

Toggle main menu. Entire point vs css is shove everything below down by extra height…

<button>

(<button> text id & {:keys [type bg-div-class link action disabled?], :or {type "button"}})

Pass text and id, plus either link anchor or action…

<close>

(<close> on-click)

<input-toggle>

(<input-toggle> id checked-path & {:keys [class label]})

Don’t forget to put ze label - only was sep in first place due to css bs?

<material-toggle>

(<material-toggle> model-path [on-state off-state & [prefix]])

<minimize>

(<minimize> model-path)

<toggle-for-path>

(<toggle-for-path> model-path)(<toggle-for-path> attrs model-path)

Like below but supports attrs + path. I mean could just check if first arg is map anyways but yeah

<toggle>

(<toggle> model-path label)(<toggle> model on-change label)(<toggle> attrs model on-change label)

A nice little (but not native checkbox little) toggle