phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias DOMContainerConfig

    type DOMContainerConfig = {
        behindCanvas?: boolean;
        createContainer?: boolean;
        pointerEvents?: string;
    }
    Index

    Properties

    behindCanvas?: boolean

    Should the DOM Container that is created (if dom.createContainer is true) be positioned behind (true) or over the top (false, the default) of the game canvas?

    createContainer?: boolean

    Should the game create a div element to act as a DOM Container? Only enable if you're using DOM Element objects. You must provide a parent object if you use this feature.

    pointerEvents?: string

    The default pointerEvents attribute set on the DOM Container.