Block Bindings: Expose bindable attributes through an annotation in the block definition #64756
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Feature] Block bindings
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
As a plugin developer, there is currently no way of knowing whether or not a block attribute is bindable.
My current workaround is to hard code the list of known bindable attributes, but that might soon get outdated.
What is your proposed solution?
Add a new annotation to the block attribute definition explicitly stating that the attribute is bindable. Something like
bindable: boolean
.The text was updated successfully, but these errors were encountered: