mozilla
Your Search Results

    Window.setCursor()

     

    Summary

    Changes the cursor for the current window.

    Example

    function setBusyCursor(enable) {
      window.setCursor(enable ? "wait" : "auto");
    }

    Notes

    The cursor isn't reset until it's set back to auto.

    This function is a part of ChromeWindow interface. This function is unavailable to web pages, which can use CSS cursor property instead.

    Specification

    DOM Level 0. Not part of any standard.

    Document Tags and Contributors

    Last updated by: fscholz,
    Hide Sidebar