The OpenD Programming Language

defaultComputedStyleFactory

This delegate is called if you call Element.computedStyle to attach an object to the element that holds stylesheet information. You can rebind it to something else to return a subclass if you want to hold more per-element extension data than the normal computed style object holds (e.g. layout info as well).

The default is return new CssStyle(null, element.style);

defaultComputedStyleFactory

Meta

History

Added September 13, 2024 (dub v11.6)