UNPKG

@sap_oss/wdio-qmate-service

Version:

[![REUSE status](https://api.reuse.software/badge/github.com/SAP/wdio-qmate-service)](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[![Node.js CI](https://github.com/SAP/wdio-qmate-service/actions/workflows/node.js.yml/badge.svg)](http

23 lines (19 loc) 668 B
// eslint-disable-next-line no-undef sap.ui.define(["sap/ui/demo/nav/controller/BaseController"], function (BaseController) { "use strict"; return BaseController.extend("sap.ui.demo.nav.controller.Home", { onDisplayNotFound: function () { // display the "notFound" target without changing the hash this.getRouter().getTargets().display("notFound", { fromTarget: "home" }); }, onNavToEmployees: function () { this.getRouter().navTo("employeeList"); }, // eslint-disable-next-line no-unused-vars onNavToEmployeeOverview: function (oEvent) { this.getRouter().navTo("employeeOverview"); } }); });