Package com.vaadin.flow.router
Interface AbstractRouteNotFoundError.CopilotJs
- All Superinterfaces:
Serializable
- Enclosing class:
AbstractRouteNotFoundError
What this page tells Copilot, as a JavaScript definition for
Element.executeJs(Class).- Since:
- 25.4
-
Method Summary
Modifier and TypeMethodDescriptionvoidTells Copilot that the project has no routes yet, waiting for it to load rather than assuming it already has.
-
Method Details
-
reportNoRoutes
@JsExpression("(function poll() {\n if (window.Vaadin?.copilot?.noRoutesInProject) {\n window.Vaadin.copilot.noRoutesInProject();\n } else {\n setTimeout(poll, 100);\n }\n})();\n") void reportNoRoutes()Tells Copilot that the project has no routes yet, waiting for it to load rather than assuming it already has.
-