Your Search Results

    Window.sizeToContent

    Summary

    Sizes the window according to its content.

    The DOM content should be loaded when this function is called, for example after the DOMContentLoaded event.

    Syntax

    window.sizeToContent() 
    

    Example

    window.sizeToContent();
    

    Specification

    DOM Level 0. Not part of any standard.

    Document Tags and Contributors

    Last updated by: teoli,
    Hide Sidebar