namespace S2.UI.Mixin
Description
Reusable mixins for user interface elements.
S2.UI.Mixin.Configurablefor hassle-free blending of default options with user-defined options.S2.UI.Mixin.TrackableS2.UI.Mixin.Elementprovides convenience methods for widgets that map easily to a single element.S2.UI.Mixin.Shimprovides an implementation of a "shim" for Internet Explorer 6, to avoid rendering z-order problems on that browser.
Mixins can be easily added to your own controls. Here is some example code from
S2.UI.Button:
S2.UI.Button = Class.create(S2.UI.Base, S2.UI.Mixin.Element, {
// ...
});