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 OOjs UI documentation on MediaWiki.
- Source:
Extends
- OO.Factory