mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 01:09:20 +00:00
1dad545f63
Provides a loading indicator to show while the new Vue.js based search widget loads. Given that the new widget will pull down the entire Vue.js runtime, it's likely that there will be a delay before the search suggestions appear. This loader is meant to improve the perceived loading experience of the new widget. Adds: - New searchLoader.js file containing loading behaviour. - This overrides the code searchSuggest loading behaviour. - New SearchBoxLoader.less file containing the loader styles. - i18n message: 'vector-search-loader'. - The Event type to jsdoc.json Bug: T254695 Change-Id: I6b5f0a60018954e10b9e80792030b67b2ec33e5a
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
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": {
|
|
"\"addEventListener\"": "https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener",
|
|
"Document": "https://developer.mozilla.org/docs/Web/API/Document",
|
|
"Event": "https://developer.mozilla.org/docs/Web/API/Event",
|
|
"HTMLElement": "https://developer.mozilla.org/docs/Web/API/HTMLElement",
|
|
"HTMLInputElement": "https://developer.mozilla.org/docs/Web/API/HTMLInputElement",
|
|
"\"removeEventListener\"": "https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener",
|
|
"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",
|
|
"MediaWikiPageReadyModule": "https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.plugin.page.ready",
|
|
"JQueryStatic": "https://api.jquery.com",
|
|
"VectorResourceLoaderVirtualConfig": "#",
|
|
"void": "#"
|
|
}
|
|
}
|
|
}
|
|
}
|