This information is in draft form. Some parts are incomplete, or only present in point form. If you have comments or suggestions for improving this documentation, please contact ~a.cheetham@utoronto.ca.
Overview
The Fluid framework's DOM Binder makes it easy for users to change the look of a component by providing an interface that allows the component developer to access DOM elements though selectors, without knowing anything about the particular mark-up in question.
Components access elements in the DOM through unique selector names. The component defines default values for the selectors, but implementors are free to override the defaults if they choose.
Initialization
The DOM Binder is automatically created and attached to that.locate()
when the component view is initialized with fluid.initView()
.
Join the fluid-talk mailing list and ask your questions there.
Using the DOM Binder
that.locate(name, localContainer)