-
Notifications
You must be signed in to change notification settings - Fork 3
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: saving state of features upon reload #27
base: main
Are you sure you want to change the base?
Conversation
… and text-spacing
Deploying with Cloudflare Pages
|
projects/astral-accessibility/src/lib/astral-accessibility.component.ts
Outdated
Show resolved
Hide resolved
projects/astral-accessibility/src/lib/controls/accessability.component.ts
Outdated
Show resolved
Hide resolved
projects/astral-accessibility/src/lib/controls/contrast.component.ts
Outdated
Show resolved
Hide resolved
projects/astral-accessibility/src/lib/controls/screen-mask.component.ts
Outdated
Show resolved
Hide resolved
this.currentState, | ||
"astralAccessibility_contrastState", | ||
this.states.length, |
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.
I feel like first and last argument can be defined only in accessibility.component.ts
, and we can make the second argument be defined as a class variable and have the parent read it as well. Hope that makes sense.
Read more on Template Method Design Pattern: https://refactoring.guru/design-patterns/template-method
… and text-spacing