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(infinite-scroll): it can be enabled/disabled from a ng input #8385

Merged

Conversation

manucorporat
Copy link
Contributor

references #8380

Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

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

enabled as an input looks good, but let's change the method back to enable() to keep it consistent with menu. :)

@@ -212,11 +222,14 @@ export class InfiniteScroll {
* enabled or not. Setting to `false` will remove scroll event listeners
* and hide the display.
*/
enable(shouldEnable: boolean) {
setEnable(shouldEnable: boolean) {
Copy link
Member

Choose a reason for hiding this comment

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

Let's change this back to enable everywhere to match menu: https://github.com/driftyco/ionic/blob/master/src/components/menu/menu.ts#L538

@brandyscarney brandyscarney merged commit fd5cdf0 into ionic-team:master Oct 12, 2016
@brandyscarney
Copy link
Member

Looks good 👍

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.

2 participants