I'd like this plugin to become part of core > https://github.com/cgkineo/adapt-menu-controller
It provides a mechanism to register menus and assign menu types.
Register API
/* duplicate Adapt.register API
* might be able to use Adapt.register to register menus, although that'd produce some
* oddities, like being able to specify a menu as a component type
* keeping the register collections segregated might be less sensible in the long run
* having one interface to register all plugins would be my preference
*/
Adapt.registerMenu("name", View);
contentObject.json and course.json menuType specification
// needed
"_menuType": "cover"
// this multi device config is rarely used and can be removed
"_menuType": {
"large": "hotspot",
"small touch": "block",
"medium notouch": "hotspot",
"small medium": "block"
}
I'd like this plugin to become part of core > https://github.com/cgkineo/adapt-menu-controller
It provides a mechanism to register menus and assign menu types.
Register API
contentObject.json and course.json menuType specification