import * as UiPageAction from "./Ui/Page/Action";
import * as UiTabMenu from "./Ui/TabMenu";
import * as UiTooltip from "./Ui/Tooltip";
+import * as UiPageJumpTo from "./Ui/Page/JumpTo";
// perfectScrollbar does not need to be bound anywhere, it just has to be loaded for WCF.js
// eslint-disable-next-line @typescript-eslint/no-unused-vars
}
}, 20);
+ document.querySelectorAll(".pagination").forEach((el: HTMLElement) => UiPageJumpTo.init(el));
+
initA11y();
DomChangeListener.add("WoltLabSuite/Core/Bootstrap", () => initA11y);
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @module WoltLabSuite/Core/Bootstrap
*/
-define(["require", "exports", "tslib", "./Core", "./Date/Picker", "./Date/Time/Relative", "./Devtools", "./Dom/Change/Listener", "./Environment", "./Event/Handler", "./Language", "./StringUtil", "./Ui/Dialog", "./Ui/Dropdown/Simple", "./Ui/Mobile", "./Ui/Page/Action", "./Ui/TabMenu", "./Ui/Tooltip"], function (require, exports, tslib_1, Core, Picker_1, DateTimeRelative, Devtools_1, Listener_1, Environment, EventHandler, Language, StringUtil, Dialog_1, Simple_1, UiMobile, UiPageAction, UiTabMenu, UiTooltip) {
+define(["require", "exports", "tslib", "./Core", "./Date/Picker", "./Date/Time/Relative", "./Devtools", "./Dom/Change/Listener", "./Environment", "./Event/Handler", "./Language", "./StringUtil", "./Ui/Dialog", "./Ui/Dropdown/Simple", "./Ui/Mobile", "./Ui/Page/Action", "./Ui/TabMenu", "./Ui/Tooltip", "./Ui/Page/JumpTo"], function (require, exports, tslib_1, Core, Picker_1, DateTimeRelative, Devtools_1, Listener_1, Environment, EventHandler, Language, StringUtil, Dialog_1, Simple_1, UiMobile, UiPageAction, UiTabMenu, UiTooltip, UiPageJumpTo) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
UiPageAction = tslib_1.__importStar(UiPageAction);
UiTabMenu = tslib_1.__importStar(UiTabMenu);
UiTooltip = tslib_1.__importStar(UiTooltip);
+ UiPageJumpTo = tslib_1.__importStar(UiPageJumpTo);
// non strict equals by intent
if (window.WCF == null) {
window.WCF = {};
window.jQuery.holdReady(false);
}
}, 20);
+ document.querySelectorAll(".pagination").forEach((el) => UiPageJumpTo.init(el));
initA11y();
Listener_1.default.add("WoltLabSuite/Core/Bootstrap", () => initA11y);
}