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

refactor: apply cfcs to ngx-imready #36

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

malangfox
Copy link
Contributor

@malangfox malangfox commented Apr 7, 2023

Details

This applies @cfcs/angular to ngx-imready.

The props of ImReady that Angular uses as inputs do not yet have values at the time the reactive ImReady instance is created.
So I declared an internal method setProps and use in ngAfterViewInit to put the props values into the instance.

Is there a better suggestion for implementing this?

@malangfox malangfox marked this pull request as draft April 7, 2023 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant