Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Remove tools/services.md and add stackblitz.md #2529

Closed
wants to merge 68 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
dcc52cf
Update style-shadow-dom.md
Nov 18, 2017
5be186c
update shadow dom docs for p3 - first pass
Feb 20, 2018
5a19243
update style shadow dom part 1
Feb 22, 2018
a2321f4
custom style etc
Feb 22, 2018
8bba339
custom props update for 3.0
Feb 28, 2018
833973e
tweak polymer-json
Mar 14, 2018
459269a
proofread
Mar 30, 2018
d6be16e
proofread
Mar 30, 2018
4fa7601
clean up
Apr 9, 2018
eec584b
feedback
Apr 12, 2018
417063c
Merge pull request #2512 from Polymer/polymer-json-edited
Apr 12, 2018
1ebff40
feedback
Apr 13, 2018
63fdc41
Tools update blog WIP.
Apr 9, 2018
bb0b9a5
pre.9 Tools update blog post.
Apr 12, 2018
2b68036
Update test instructions for P3.0 projs
Apr 19, 2018
183d264
update to use unpkg
Apr 19, 2018
c0c0cdc
Update registering-elements.md
Brianmanden Apr 20, 2018
8a33d5a
Merge pull request #2531 from Brianmanden/patch-1
Apr 20, 2018
536d5e9
3.0-ify tools/polymer-cli.md
Apr 23, 2018
019a1ba
First pass on 3.0 api docs.
rictic Apr 24, 2018
ccbaef2
Update 3.x api docs.
rictic Apr 25, 2018
a157103
Add docs on how to regenerate api docs.
rictic Apr 25, 2018
8401dde
move stackblitz sdk to accessible location
Apr 25, 2018
09ed36f
ignore sdk
Apr 25, 2018
9e12e9d
stackblitz element
Apr 25, 2018
8e1c4e9
demo-tabs can detect whether stackblitz or plunkr
Apr 25, 2018
c192eef
gulpfile will copy new files to dist
Apr 25, 2018
3da5fd3
update docs and projects
Apr 25, 2018
d3e3276
Update iron-doc-viewer for iron-doc-module element.
rictic Apr 25, 2018
1b57ef3
Capitalize subsections on the 3.0 api docs index page.
rictic Apr 25, 2018
5152cd5
make demos show for jsbin demos
Apr 25, 2018
7076a66
clean up demo-tabs props and fns
Apr 25, 2018
bf1581e
include stackblitz sdk directly
Apr 25, 2018
5e625c8
Make 3.0 api docs subsections look like directories.
rictic Apr 25, 2018
54c4c20
Address review comments.
rictic Apr 26, 2018
d65e5e6
remoced gitignore for non-existent dir
Apr 26, 2018
e10b97d
removed local stackblitz sdk
Apr 26, 2018
4b14db5
removed stackblitz sdk from deps and pinned to version
Apr 26, 2018
f8ddfc4
remove extraneous gulp target
Apr 26, 2018
6bfc3b0
Custom elements updates, first cut.
Apr 27, 2018
f6a4674
Fix typos.
Apr 27, 2018
f013d65
turbo_modules -> node_modules
Apr 27, 2018
36248de
Merge pull request #2537 from Polymer/stack-blitz
Apr 28, 2018
d9d4ff6
resurrect missing bits
Apr 28, 2018
7dda929
feedback
Apr 29, 2018
22b8531
Merge pull request #2476 from Polymer/p3-shadow-dom-concepts
Apr 29, 2018
18276a2
Merge pull request #2535 from Polymer/3.0-api-docs
Apr 30, 2018
fbf04f9
Fix typos, clarify legacy elements.
Apr 30, 2018
b4f4ac1
Merge pull request #2540 from Polymer/3-0-custom-elements
Apr 30, 2018
b01c77b
Removing services for now
Apr 30, 2018
794a7c6
Fix typo.
Apr 30, 2018
bd79b51
Merge pull request #2527 from Polymer/new-tools-master
Apr 30, 2018
11a65f0
Merge pull request #2390 from Polymer/add-plunker-for-unresolved-style
Apr 30, 2018
0c204f0
Merge pull request #2498 from Polymer/polymer-json
Apr 30, 2018
21aa66c
Merge pull request #2528 from Polymer/3-0-tools-tests
Apr 30, 2018
2b704a2
Merge pull request #2532 from Polymer/3-0-polymer-cli
Apr 30, 2018
c7d04bc
Add info on stackblitz to Resources
May 1, 2018
7fae52a
address feedback
May 1, 2018
aeae594
update to use unpkg
Apr 19, 2018
d96d5ff
Removing services for now
Apr 30, 2018
2c4a8c8
Add info on stackblitz to Resources
May 1, 2018
139af55
address feedback
May 1, 2018
28900dd
more feedback
May 1, 2018
2ccea89
feedback
May 1, 2018
fde847c
Update stackblitz.md
May 1, 2018
995cd89
Merge pull request #2546 from Polymer/3-0-tools-services-patch
May 1, 2018
0a6380f
Address review comments
May 1, 2018
77c3efd
Merge branch '3-0-tools-services' of https://github.com/Polymer/docs …
May 1, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ build
# Dev directories
/app/bower_components
/node_modules
/scripts/node_modules
/scripts/temp
/scripts/*_analysis.json
31 changes: 4 additions & 27 deletions app/2.0/docs/devguide/custom-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Polymer adds a set of features to the basic custom element:
* Creating shadow DOM trees for element instances based on a supplied template.
* A data system that supports data binding, property change observers, and computed properties.



## Custom element lifecycle {#element-lifecycle}

The custom element spec provides a set of callbacks called "custom element reactions" that allow you
Expand Down Expand Up @@ -218,33 +220,8 @@ by any pending lifecycle callbacks.

Element upgrades allow you to place elements in the DOM while deferring the cost of initializing them. It's a progressive enhancement feature.

Elements have a *custom element state* that takes one of the following values:



* "uncustomized". The element does not have a valid custom element name. It is either a built-in
element (`<p>`, `<input>`) or an unknown element that cannot become a custom element
(`<nonsense>`)
* "undefined". The element has a valid custom element name (such as "my-element"), but has not
been defined.
* "custom". The element has a valid custom element name and has been defined and upgraded.
* "failed". An attempt to upgrade the element failed (for example, because the class was invalid).

The custom element state isn't exposed as a property, but you can style elements depending on
whether they're defined or undefined.

Elements in the "custom" and "uncustomized" state are considered "defined". In CSS you can use the
`:defined` pseudo-class selector to target elements that are defined. You can use this to provide
placeholder styles for elements before they're upgraded:

```
my-element:not(:defined) {
background-color: blue;
}
```

**`:defined` is not supported by the Custom Elements polyfill.** See the [documentation on styling](style-shadow-dom#style-undefined-elements) for a workaround.
{.alert .alert-warning}
To avoid showing unstyled content, you can add styles for elements that haven't upgraded yet. For
details, see [Style undefined elements](style-shadow-dom#style-undefined-elements).

## Extending other elements {#extending-elements}

Expand Down
2 changes: 1 addition & 1 deletion app/2.0/docs/devguide/registering-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ customElements.define('x-class', XClass);
```

The `mixinBehavior` function also mixes in the Legacy APIs, the same as if you extended
`Polymer.LegacyElement`. These APIs are required since since hybrid behaviors depend on them.
`Polymer.LegacyElement`. These APIs are required since hybrid behaviors depend on them.

## Define an element in the main HTML document {#main-document-definitions}

Expand Down
2 changes: 2 additions & 0 deletions app/2.0/docs/devguide/style-shadow-dom.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ class myElement extends Polymer.Element(){
}
```

[See an example on Plunker](http://plnkr.co/edit/vWS9PIBTTbKHxRnJyT7T?p=preview)

### Style directional text with the :dir() selector

The `:dir()` CSS selector allows for styling text specific to its orientation
Expand Down
7 changes: 0 additions & 7 deletions app/3.0/docs/api/classes/Polymer.Debouncer.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/classes/Polymer.FlattenedNodesObserver.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/elements/Polymer.ArraySelector.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/elements/Polymer.CustomStyle.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/elements/Polymer.DomBind.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/elements/Polymer.DomIf.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/elements/Polymer.DomModule.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/elements/Polymer.DomRepeat.html

This file was deleted.

7 changes: 0 additions & 7 deletions app/3.0/docs/api/elements/Polymer.Element.html

This file was deleted.

Loading