_selectors option description
Description |
An object containing names CSS-based selectors identifying where in the DOM different elements can be found. |
---|---|
Notes |
The Framework will create a DOM Binder that should be used to access the elements identified by selectors. The DOM Binder attaches a function to the component object called |
Example Definition |
fluid.defaults("fluid.progress", { selectors: { displayElement: ".flc-progress", progressBar: ".flc-progress-bar", indicator: ".flc-progress-indicator", label: ".flc-progress-label", ariaElement: ".flc-progress-bar" }, ... }); |
Example Override |
var myEdit = fluid.progress(container, { selectors: { indicator: "div.progress-indicator", label: "span.progress-label" }, ... }); |
See also |