Added doc comment to pageWindow

This commit is contained in:
Mizah 2024-11-17 14:34:39 +02:00
parent a505f36252
commit ee574ae154

View file

@ -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) {
const { dispose } = popup(MkPageWindow, {
initialPath: path,