sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    collapseHidden: any

    Does this icon get hidden when the block is collapsed.

    iconGroup_: SVGGElement

    The icon SVG group.

    SIZE: any

    Height and width of icons.

    Methods

    • Change the colour of the associated bubble to match its block.

      Returns void

    • Notification that the icon has moved, but we don't really know where. Recompute the icon's location from scratch.

      Returns void

    • Create the icon on the block.

      Returns void

    • Dispose of this comment.

      If you want to receive a comment "delete" event (newValue: null), then this should not be called directly. Instead call block.setCommentText(null);

      Returns void

    • Get the size of the icon as used for rendering. This differs from the actual size of the icon, because it bulges slightly out of its row rather than increasing the height of its row.

      Returns Blockly.utils.Size

      Height and width.

    • Is the associated bubble visible?

      Returns boolean

      True if the bubble is visible.

    • Size this comment's bubble.

      Parameters

      • width: number

        Width of the bubble.

      • height: number

        Height of the bubble.

      Returns void

    • Show or hide the comment bubble.

      Parameters

      • visible: boolean

        True if the bubble should be visible.

      Returns void

    • Add or remove the UI indicating if this icon may be clicked or not.

      Returns void

    • Update the comment's view to match the model.

      Returns void