UNPKG

@adobe/cq-angular-editable-components

Version:

* [API](#api) * [Documentation](#documentation) * [Changelog](#changelog)

14 lines (13 loc) 491 B
import { Resolve, ActivatedRouteSnapshot } from '@angular/router'; export declare class AemPageDataResolver implements Resolve<string> { constructor(); /** * Returns the absolute resource path without extension. * @example * // returns: '/content/aa/bb' for route.url [ 'content', 'aa', 'bb.html' ] * resolve(route) * @param route - route * @returns absolute resource path without extension */ resolve(route: ActivatedRouteSnapshot): string; }