@ngxs/router-plugin
Version:
router plugin for @ngxs/store
17 lines (13 loc) • 784 B
JavaScript
import { InjectionToken } from '@angular/core';
const ɵUSER_OPTIONS = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'USER_OPTIONS' : '', { providedIn: 'root', factory: () => undefined });
const ɵNGXS_ROUTER_PLUGIN_OPTIONS = new InjectionToken(typeof ngDevMode !== 'undefined' && ngDevMode ? 'NGXS_ROUTER_PLUGIN_OPTIONS' : '', { providedIn: 'root', factory: () => ({}) });
function ɵcreateRouterPluginOptions(options) {
return {
navigationActionTiming: (options && options.navigationActionTiming) || 1 /* NavigationActionTiming.PreActivation */
};
}
/**
* Generated bundle index. Do not edit.
*/
export { ɵNGXS_ROUTER_PLUGIN_OPTIONS, ɵUSER_OPTIONS, ɵcreateRouterPluginOptions };
//# sourceMappingURL=ngxs-router-plugin-internals.mjs.map