0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-20 12:52:19 +01:00
GeoSot 584600bda3
Manipulator: Add JSON parse support (#35077)
Support parsing JSON from each component's main element using the `data-bs-config` attribute.

The `bs-config` attribute will be reserved and omitted during `getDataAttributes` parsing.

With this commit, every component, will create its config object, using:

* defaults
* data-bs-config
* the rest of data attributes
* configuration object given during instance initialization

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2022-04-21 21:41:43 +03:00
..
2022-03-31 14:27:09 -07:00
2021-08-04 18:41:51 +03:00
2021-08-04 18:41:51 +03:00