mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 18:35:44 +00:00
5195f5fd67
Add a menu button that toggles the panel's (also referred to as a sidebar) collapse state. When the screen is wide enough, animate the transition. The menu icon from OOUI is copied into Vector to avoid two ResourceLoaders modules (collapseHorizontal icon isn't ready for inclusion in the OOUI icon pack and ResourceLoaderOOUIIconPackModule doesn't support images). Additional polish and collaboration is needed but this patch fulfills the scope of its referenced task. Bug: T246419 Depends-On: I8e153c0ab927f9d880a68fb9efb0bf37b91d26b2 Change-Id: Ic9d54de7e19ef8d5dfd703d95a45b78c0aaf791a
35 lines
872 B
JSON
35 lines
872 B
JSON
{
|
|
"opts": {
|
|
"destination": "docs/js",
|
|
"package": "package.json",
|
|
"pedantic": true,
|
|
"readme": "README.md",
|
|
"recurse": true,
|
|
"template": "node_modules/jsdoc-wmf-theme"
|
|
},
|
|
"source": {
|
|
"include": [ "resources" ]
|
|
},
|
|
"templates": {
|
|
"cleverLinks": true,
|
|
"default": {
|
|
"useLongnameInNav": true
|
|
},
|
|
"wmf": {
|
|
"linkMap": {
|
|
"Document": "https://developer.mozilla.org/docs/Web/API/Document",
|
|
"HTMLElement": "https://developer.mozilla.org/docs/Web/API/HTMLElement",
|
|
"HTMLInputElement": "https://developer.mozilla.org/docs/Web/API/HTMLInputElement",
|
|
"Window": "https://developer.mozilla.org/docs/Web/API/Window",
|
|
|
|
"CheckboxHack": "https://doc.wikimedia.org/mediawiki-core/master/js",
|
|
|
|
"MW": "https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw",
|
|
"JQueryStatic": "https://api.jquery.com",
|
|
|
|
"void": "#"
|
|
}
|
|
}
|
|
}
|
|
}
|