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

feat(angular): improve DI-approach #72

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Conversation

nsbarsukov
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows Conventional Commits
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactoring
  • Code style update
  • Build or CI related changes
  • Documentation content changes

What is the current behavior?

Closes #36

Does this PR introduce a breaking change?

  • Yes
  • No

@github-actions
Copy link
Contributor

Visit the preview URL for this PR (updated for commit 3081eb6):

https://maskito--pr72-improve-angular-di-a-3eudwxst.web.app

(expires Tue, 24 Jan 2023 13:02:47 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 61e4dea776cbea516b68c67840913d2edd88bb90

this.maskedElement?.destroy();
this.maskedElement = new Maskito(this.elementRef.nativeElement, options);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a point to keep an eye on, we cannot be sure we have access to native element so in future we would also need some way to get native input without putting explicit maskito directive on it, and also make sure we can handle native input dynamic appearance and removal.

@nsbarsukov nsbarsukov merged commit 0ecacfb into main Jan 24, 2023
@nsbarsukov nsbarsukov deleted the improve-angular-di-approach branch January 24, 2023 09:56
This was referenced Feb 14, 2023
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.

🚀 – @maskito/angular improve DI-approach
3 participants