sesaparcours
    Preparing search index...
    • Load a new figure (empty if not provided)

      Parameters

      • Optionaloptions: {
            container?: HTMLElement;
            fig?: string;
            height?: number;
            id?: string;
            removeAllDoc?: boolean;
            width?: number;
        }
        • Optionalcontainer?: HTMLElement

          The container bound to contain the created svg (mandatory for the mtgApp player if id isn't given, when there is not yet any document, ignored otherwise)

        • Optionalfig?: string

          The base 64 code of the figure

        • Optionalheight?: number
        • Optionalid?: string

          id (MtgApp player only) id of the figure to be replaced or created

        • OptionalremoveAllDoc?: boolean

          true to delete all the alredy existing figures of a MtgAp player before the creation of this one (nor accounted for in case of an MtgApp)

        • Optionalwidth?: number

      Returns Promise<void>

      Promise that will be resolved when the new figure is displayed