-As of CoreUI 4.2.0, all components support an **experimental** reserved data attribute `data-cui-config` that can house simple component configuration as a JSON string. When an element has `data-cui-config='{"delay":0, "title":123}'` and `data-cui-title="456"` attributes, the final `title` value will be `456` and the separate data attributes will override values given on `data-cui-config`. In addition, existing data attributes are able to house JSON values like `data-cui-delay='{"show":0,"hide":150}'`.
0 commit comments