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

Create background layers lazyly #215

Merged
merged 11 commits into from
May 27, 2016
Merged

Create background layers lazyly #215

merged 11 commits into from
May 27, 2016

Conversation

blasten
Copy link
Contributor

@blasten blasten commented May 25, 2016

An approach to #183, and also cleans up the API without breaking anything.

@blasten blasten force-pushed the header-lazy-dom branch 2 times, most recently from 764380a to 45a8bf8 Compare May 25, 2016 19:55
@blasten blasten force-pushed the header-lazy-dom branch 2 times, most recently from 15a28ff to 86b251b Compare May 26, 2016 00:08
@blasten blasten force-pushed the header-lazy-dom branch 3 times, most recently from 6a103d5 to 353a8a9 Compare May 26, 2016 18:32
var title = Polymer.dom(this).querySelector('[title]');
var condensedTitle = Polymer.dom(this).querySelector('[condensed-title]');
var title = this._getDOMRef('title');
var condensedTitle = this._getDOMRef('condensedTitle');
Copy link
Contributor

@frankiefu frankiefu May 26, 2016

Choose a reason for hiding this comment

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

This will create _bgContainer and I don't think is needed for resize-title effect.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed!

@frankiefu
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants