Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and expose BlockSvg.getStyle() #8565

Open
1 task done
gonfunko opened this issue Sep 5, 2024 · 0 comments
Open
1 task done

Create and expose BlockSvg.getStyle() #8565

gonfunko opened this issue Sep 5, 2024 · 0 comments
Assignees
Labels
issue: feature request Describes a new feature and why it should be added

Comments

@gonfunko
Copy link
Contributor

gonfunko commented Sep 5, 2024

Check for duplicates

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

Problem

No response

Request

Currently, Block exposes a method to get its style's name, and BlockSvg has a public property to get the actual style object. BlockSvg should also expose a method to get the style object, which should be used in preference to directly accessing the field. This came up here: gonfunko/scratch-blocks#171 (comment)

Alternatives considered

No response

Additional context

No response

@gonfunko gonfunko added issue: feature request Describes a new feature and why it should be added issue: triage Issues awaiting triage by a Blockly team member labels Sep 5, 2024
@cpcallen cpcallen removed the issue: triage Issues awaiting triage by a Blockly team member label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: feature request Describes a new feature and why it should be added
Projects
None yet
Development

No branches or pull requests

3 participants