Skip to content

Provide accessors for methods relevant to the scroll options plugin #7157

@BeksOmega

Description

@BeksOmega

Check for duplicates

  • I have searched for similar issues before opening a new one.

Problem

The scroll options plugin accesses some public + underscore properties of the workspace. We should consider whether to add public accessors for these, since there is obviously a use case for accessing them.

The first property is svgGroup_.

The second property is svgBlockCanvas_. This /is/ currently returned by the accessor getBlockCanvas, but getBlockCanvas is marked @internal, so it is inaccessible.

Request

Consider adding a getSvgGroup method and making the getBlockCanvas method public.

Alternatives considered

N/A

Additional context

RaspberryPiFoundation/blockly-samples#1666

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: feature requestDescribes a new feature and why it should be addedsize: smallBugs that can be picked up and completed in 1-3 days

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions