Request

Response

    Autodesk.Viewing

    ViewingApplication

    new ViewingApplication(containerId, options)

    Wrapper application for the viewer component.

    Attaches ViewingApplication to a div by ID and initializes common properties of the viewing application.

    Parameters

    Expand all
    containerId*
    string
    The ID of the main container.
    options
    object
    An optional dictionary of options.
    disableBrowserContextMenu
    boolean
    Disables the browser’s default context menu.
    * Required