aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/partials/js-data-attributes.md
AgeCommit message (Collapse)AuthorFilesLines
2023-03-27Add detailed explanation of the JS components configuration merging process ↵GeoSot1-0/+2
(#37303) * doc: add detailed explanation of the components config process & fix popover/tooltip docs * Update site/layouts/partials/js-data-attributes.md --------- Co-authored-by: Mark Otto <[email protected]>
2022-05-27Add some details on "javascript" page (#36363)GeoSot1-1/+1
* docs: Add more details on "getting-started -> javascript" page & group jQuery stuff * Update after feedback * Rewrite some content - Shorten copy here and there - Reduce some callouts that are entire sections with h2 headings - Re-arrange a couple things Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-04-21Manipulator: Add JSON parse support (#35077)GeoSot1-0/+3
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 <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>