new ToolGroupFactory()
ToolGroupFactories create toolgroups on demand. The toolgroup classes must
specify a symbolic name and be registered with the factory. The following classes are registered by
default:
- BarToolGroups (‘bar’)
- MenuToolGroups (‘menu’)
- ListToolGroups (‘list’)
See toolbars for an example.
For more information about toolbars in general, please see the [OOUI documentation on MediaWiki][1].
[1]: https://www.mediawiki.org/wiki/OOUI/Toolbars
- Source:
Extends
- OO.Factory