web-atoms-core
Version:
27 lines • 1.03 kB
TypeScript
import { App } from "../../App";
import { CancelToken, IClassOf } from "../../core/types";
import XNode from "../../core/XNode";
import { IPageOptions } from "../../services/NavigationService";
import { AtomControl } from "./AtomControl";
export declare class AtomPageLink extends AtomControl {
static page: (attributes: Partial<unknown>, ...nodes: XNode[]) => XNode;
page: string | IClassOf<AtomControl>;
parameters: any;
isOpen: boolean;
cancelToken: CancelToken;
options: IPageOptions;
/**
* Block opening Popup/Page again till the opened page is closed or cancelled.
* If set true, toggle will not work. Default is false.
*/
modal: boolean;
/**
* Setting Toggle (default true) true will close the already opened Popup/window, otherwise it will
* open a new window if Modal is false.
*/
toggle: boolean;
constructor(app: App, e?: HTMLElement);
preCreate(): void;
protected openPopup(): Promise<void>;
}
//# sourceMappingURL=AtomPageLink.d.ts.map