-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat(esl-media): observation for togglebale container state #2720
base: main-beta
Are you sure you want to change the base?
Conversation
e8b52fd
to
e66c384
Compare
Code Climate has analyzed commit e66c384 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 69.5% (50% is the threshold). This pull request will bring the total coverage in the repository to 65.3% (0.0% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solutions looks logical to me.
Attribute autopaused
looks super clear and logical to me...
@@ -335,6 +346,28 @@ export class ESLMedia extends ESLBaseElement { | |||
this.deferredReinitialize(); | |||
} | |||
|
|||
@listen({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding listeners, we have here, it's perfect if we limit them to a single actual subscription (move to service, which will probably also handle observer file functionality) (btw in addition to performance reasons, it will also simplify main file)
But initially and for that pr I'm more than fine to have them as it is.
Closes: #2712