Skip to content

Commit

Permalink
Merge pull request Polymer#4001 from dandv/patch-2
Browse files Browse the repository at this point in the history
Briefly explain how to split element definition
  • Loading branch information
kevinpschaaf authored Oct 5, 2016
2 parents e0d51ba + 0dae8f0 commit 091a709
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PRIMER.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ Example:
We say that an element definition has an imperative and declarative portion. The imperative
portion is the call to `Polymer({...})`, and the declarative portion is the `<dom-module>`
element. The imperative and declarative portions of an element's definition may be placed
in the same html file or in separate files.
in the same HTML file or in separate files. They are matched based on the `dom-module`'s `id`
having the same value as the element's `is` property.

**NOTE:** Defining an element in the main html document is not currently supported.

Expand Down

0 comments on commit 091a709

Please sign in to comment.