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

3.0 updates #88

Merged
merged 12 commits into from
Jul 25, 2018
Merged

3.0 updates #88

merged 12 commits into from
Jul 25, 2018

Conversation

bicknellr
Copy link
Contributor

No description provided.

@bicknellr bicknellr requested a review from dfreedm as a code owner July 17, 2018 00:23
@bicknellr bicknellr changed the base branch from master to __auto_generated_3.0_preview July 17, 2018 00:24
README.md Outdated
Using svg elements to create icons has a few advantages over traditional bitmap
graphics like jpg or png. Icons that use svg are vector based so they are
resolution independent and should look good on any device. They are stylable
via css. Icons can be themed, colorized, and even animated.

Example:
Copy link
Contributor

Choose a reason for hiding this comment

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

These are just copy pasted from the element docs, no? I think we're just linking to them, and deleting everything else, as per https://raw.githubusercontent.com/PolymerElements/paper-input/85c6cfd45ba0f0c6c76bceee93b5f18890e2c655/README.md

Copy link
Contributor Author

Choose a reason for hiding this comment

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

SGTM; I replaced this top section with the links in the example there.

demo/index.html Outdated

document.body.appendChild($_documentContainer.content);
</script>
const $_documentContainer = document.createElement('template');
Copy link
Contributor

Choose a reason for hiding this comment

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

we're using the html function for this now:

import {html} from '@polymer/polymer/lib/utils/html-tag.js';
const template = html``;
document.body.appendChild(template.content);

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.

const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

$_documentContainer.innerHTML = `<iron-iconset-svg name="svg-sample-icons" size="100">
$_documentContainer.innerHTML =
`<iron-iconset-svg name="svg-sample-icons" size="100">
Copy link
Contributor

Choose a reason for hiding this comment

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

html function here too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was the one you were mentioning offline that probably shouldn't use html, right? (left unchanged)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Or, maybe you were talking about this comment instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed this one to use html.

@bicknellr bicknellr merged commit ca40dbe into __auto_generated_3.0_preview Jul 25, 2018
@bicknellr bicknellr deleted the 3.0-preview-dev branch July 25, 2018 18:39
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.

None yet

3 participants