//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// TypeScript support for Blazor-WASM application | Author: Sergei Y.Kitaev
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Page-functions (static class):
class Page {
    static GetScrollLeft() {
        return Magistral.GetScrollLeft();
    }
    static GetScrollTop() {
        return Magistral.GetScrollTop();
    }
    static ScrollTo(scrollLeft, scrollTop) {
        return Magistral.ScrollTo(scrollLeft, scrollTop);
    }
    static DeferredScrollTo(scrollLeft, scrollTop, milliseconds = 0) {
        return Magistral.DeferredScrollTo(scrollLeft, scrollTop, milliseconds);
    }
    static ScrollToTop() {
        return Magistral.ScrollToPageTop();
    }
    static DeferredScrollToTop(milliseconds = 0) {
        return Magistral.DeferredScrollToPageTop(milliseconds);
    }
    static ScrollToBottom() {
        return Magistral.ScrollToPageBottom();
    }
    static DeferredScrollToBottom(milliseconds = 0) {
        return Magistral.DeferredScrollToPageBottom(milliseconds);
    }
    static FocusBackground() {
        return Magistral.FocusPageBackground();
    }
    static DeferredFocusBackground(milliseconds = 0) {
        return Magistral.DeferredFocusPageBackground(milliseconds);
    }
    static Unscroll() {
        Page.ScrollTo(0, 0);
    }
    static DeferredUnscroll(milliseconds = 0) {
        milliseconds = HOps.NullSubst(milliseconds, 0);
        setTimeout(Page.Unscroll, milliseconds);
    }
    static ClearSelectionUnscroll() {
        HDoc.ClearSelection();
        Page.Unscroll();
    }
    static ClearSelectionDeferredUnscroll(milliseconds = 0) {
        HDoc.ClearSelection();
        Page.DeferredUnscroll(milliseconds);
    }
} // Page
//==================================================================================================
// Page — INITIALIZATION:
//--------------------------------------------------------------------------------------------------
//==================================================================================================
// Page — FUNCTIONS:
//--------------------------------------------------------------------------------------------------
function Page_GetScrollLeft() {
    return Page.GetScrollLeft();
}
function Page_GetScrollTop() {
    return Page.GetScrollTop();
}
function Page_ScrollTo(scrollLeft, scrollTop) {
    Page.ScrollTo(scrollLeft, scrollTop);
}
function Page_DeferredScrollTo(scrollLeft, scrollTop, milliseconds = 0) {
    Page.DeferredScrollTo(scrollLeft, scrollTop, milliseconds);
}
function Page_ScrollToTop() {
    return Page.ScrollToTop();
}
function Page_DeferredScrollToTop(milliseconds = 0) {
    return Page.DeferredScrollToTop(milliseconds);
}
function Page_ScrollToBottom() {
    return Page.ScrollToBottom();
}
function Page_DeferredScrollToBottom(milliseconds = 0) {
    return Page.DeferredScrollToBottom(milliseconds);
}
function Page_FocusBackground() {
    return Page.FocusBackground();
}
function Page_DeferredFocusBackground(milliseconds = 0) {
    return Page.DeferredFocusBackground(milliseconds);
}
function Page_Unscroll() {
    Page.Unscroll();
}
function Page_DeferredUnscroll(milliseconds = 0) {
    setTimeout(Page.Unscroll, milliseconds);
}
function Page_ClearSelection() {
    HDoc.ClearSelection();
}
function Page_ClearSelectionUnscroll() {
    Page.ClearSelectionUnscroll();
}
function Page_ClearSelectionDeferredUnscroll(milliseconds = 0) {
    Page.ClearSelectionDeferredUnscroll(milliseconds);
}
//==================================================================================================
//# sourceMappingURL=Page.js.map