Added doc comment to pageWindow
This commit is contained in:
parent
a505f36252
commit
ee574ae154
|
|
@ -241,6 +241,10 @@ export function popup<T extends Component>(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open the page with the given path in a pop-up window.
|
||||||
|
* @param path The path of the page to open.
|
||||||
|
*/
|
||||||
export function pageWindow(path: string) {
|
export function pageWindow(path: string) {
|
||||||
const { dispose } = popup(MkPageWindow, {
|
const { dispose } = popup(MkPageWindow, {
|
||||||
initialPath: path,
|
initialPath: path,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue