dojo / dojo/framework

Informative properties on Web Components

Open
#254 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
623
Forks
78
PR merge metrics
No merged PRs in 30d

Description

I would like to provide a set of read-only informative properties on a Dojo web component that can be used to interrogate the state of the widget. For example, properties on HTMLMediaElement like `duration`, `ended`, and `error` provide information without allowing the consumer of the element a way to directly change these values.

This problem may be two-fold.

* How do I update a property from inside a Dojo widget when using web components?
* How do I make a web component property read-only?

How can we solve this problem so a Dojo web component can provide informative read-only properties?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.