@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
10 lines (9 loc) • 438 B
TypeScript
/** Сервис для доступа к функциям объекта window.location */
export interface IWindowLocationService {
href: string;
open(url?: string, target?: string, features?: string, replace?: boolean): Window | null;
}
export declare type $WindowLocation = {
windowLocation: IWindowLocationService;
};
export declare const $WindowLocation: string | ((model?: $WindowLocation) => IWindowLocationService);