-
-
Notifications
You must be signed in to change notification settings - Fork 264
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: switch to signal inputs #1835
feat: switch to signal inputs #1835
Conversation
1fdd93c
to
49212c9
Compare
|
||
export const getFormat = (format?: QuillFormat, configFormat?: QuillFormat): QuillFormat => { | ||
const passedFormat = format || configFormat | ||
return passedFormat || 'html' | ||
} | ||
|
||
export function raf$() { |
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.
would be nice to use fat arrow functions
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.
And CI is failing coverage now.
maybe test your request animation helper.
or better the destroy callback
This commit switches inputs to signal inputs to be compatible with zoneless change detection because everything should be a signal primitive. As such, its changes may be caught by the execution context. Every time a signal changes, it would schedule a change detection event, even in zoneless mode. I didn't update `@Output()` to `output` because we still use `.observed` properties.
9f94b68
to
47c138f
Compare
No matter what tests I add the coverage remains the same. |
i will check it thank you for the pr |
FYI: it is the coverage for branches if you run the test -> check the coverage folder there you have the text, json and html coverage reports |
you need angular 17 my demo repo is up to date https://killercodemonkey.github.io/ngx-quill-example/ |
@andrei-varchanka, you don't need to upgrade to the latest version if you're staying with Angular versions lower than 17, as the latest changes are only compatible with ng17. |
This commit switches inputs to signal inputs to be compatible with zoneless change detection because everything should be a signal primitive. As such, its changes may be caught by the execution context. Every time a signal changes, it would schedule a change detection event, even in zoneless mode.
I didn't update
@Output()
tooutput
because we still use.observed
properties.