You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taking a tip from William, it may be marginally faster and (more importantly) separates content/presentation better to use DOM fragments and cloning rather than creating elements (for example, for interact controls, or anywhere else we use the "ce" function). See http://ejohn.org/blog/dom-documentfragments/
For example (as a tip from William), load a lot of hidden divs/spans that contain DOM fragments for each interact control, etc. Clone these as needed and insert them into the DOM where needed.
The text was updated successfully, but these errors were encountered:
Taking a tip from William, it may be marginally faster and (more importantly) separates content/presentation better to use DOM fragments and cloning rather than creating elements (for example, for interact controls, or anywhere else we use the "ce" function). See http://ejohn.org/blog/dom-documentfragments/
For example (as a tip from William), load a lot of hidden divs/spans that contain DOM fragments for each interact control, etc. Clone these as needed and insert them into the DOM where needed.
The text was updated successfully, but these errors were encountered: