sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    collapse: boolean
    comments: boolean
    disable: boolean
    gridOptions: GridOptions
    gridPattern: SVGElement

    The SVG element for the grid pattern. Created during injection.

    hasCategories: boolean
    hasCss: boolean
    hasScrollbars: any

    January 2019

    hasSounds: boolean
    hasTrashcan: boolean
    horizontalLayout: boolean
    languageTree: ToolboxInfo
    maxBlocks: number
    maxInstances: { [key: string]: number }
    maxTrashcanContents: number
    moveOptions: MoveOptions
    oneBasedIndex: boolean
    parentWorkspace: WorkspaceSvg

    The parent of the current workspace, or null if there is no parent workspace. We can assert that this is of type WorkspaceSvg as opposed to Workspace as this is only used in a rendered workspace.

    pathToMedia: string
    plugins: any

    Map of plugin type to name of registered plugin or plugin class.

    readOnly: boolean
    renderer: string
    rendererOverrides: Object
    RTL: boolean
    theme: Blockly.Theme
    toolboxPosition: Blockly.utils.toolbox.Position
    zoomOptions: ZoomOptions

    Methods

    • Return an object with the metrics required to size the workspace.

      Returns Blockly.utils.Metrics

      Contains size and position metrics.

    • If set, sets the translation of the workspace to match the scrollbars.

      Parameters

      • xyRatio: { x: number; y: number }

        Contains an x and/or y property which is a float between 0 and 1 specifying the degree of scrolling.

      Returns void