-
Notifications
You must be signed in to change notification settings - Fork 0
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
#1341 setup sites screen #214
Conversation
}); | ||
} | ||
|
||
ngOnDestroy() { |
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.
:void :)
} | ||
|
||
filterData = (filters: SearchFilterItem[]): void => { | ||
// arrow to hold onto this |
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.
What does this comment mean?
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.
filterData
will be used in the html template and passed in as a callback to another component down the line. so this
will reference the callbacks component instead of this one. Arrow functions hold onto this
.
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.
ok 😕.
I approve of this MR. 😄 |
eb5c48e
to
7363ae3
Compare
No description provided.