mixin S2.UI.Mixin.Configurable
Description
A mixin for hassle-free blending of default options with user-defined options.
Expects default options to be defined in a DEFAULT_OPTIONS property
on the class itself.
Methods
Instance methods
-
setOptions #
S2.UI.Mixin.Configurable#setOptions(options) -> Object-
options(Object) – A set of user-defined options that should override the defaults.
Sets options on the class. Can be called multiple times; will copy any options defined in
optionsonto an existingthis.optionsproperty (or will define that property if it does not exist). -