UNPKG

@nent/core

Version:

Functional elements to add routing, data-binding, dynamic HTML, declarative actions, audio, video, and so much more. Supercharge static HTML files into web apps without script or builds.

28 lines (27 loc) 590 B
/*! * NENT 2022 */ /* istanbul ignore file */ import { activateActionActivators, } from '../../../../services/actions'; export class MockRoute { constructor() { this.path = 'fake'; this.match = null; this.scrollOnNextRender = false; this.previousMatch = null; } async getPreviousRoute() { return null; } async getNextRoute() { return null; } getParentRoute() { return null; } captureInnerLinks(_root) { } async activateActions(forEvent, filter = _a => true) { await activateActionActivators([], forEvent, filter); } destroy() { } }