Skip to content

Comments

clean up initial conditions to ensure directive is applied on page load as well as resize#7

Open
furiousOyster wants to merge 4 commits intoanthonychu:masterfrom
furiousOyster:master
Open

clean up initial conditions to ensure directive is applied on page load as well as resize#7
furiousOyster wants to merge 4 commits intoanthonychu:masterfrom
furiousOyster:master

Conversation

@furiousOyster
Copy link

Currently, directive does not seem to apply in some cases on first page load.
Directive is loaded before the page has finished loading, so first call to onWindowResize fails to set size correctly.
Also no need for debounce on page load.

@furiousOyster
Copy link
Author

doesn't run on pageload in circumstances where element is created by ng-repeat.

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.

1 participant