Skip to content

Commit

Permalink
Fixed small typo on PRIMER.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nippur72 committed Jul 19, 2015
1 parent 8134fbf commit bc40821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PRIMER.md
Expand Up @@ -348,7 +348,7 @@ Note: Deserialization occurs both at create time, as well as at runtime, e.g. wh
<a name="host-attributes"></a>
## Static attributes on host

If a custom elements needs HTML attributes set on it at create-time, these may be declared in a `hostAttributes` property on the prototype, where keys are the attribtue name and values are the values to be assigned. Values should typically be provided as strings, as HTML attributes can only be strings; however, the standard `serialize` method is used to convert values to strings, so `true` will serialize to an empty attribute, and `false` will result in no attribtue set, and so forth (see [here](#attribute-serialization) for more details).
If a custom elements needs HTML attributes set on it at create-time, these may be declared in a `hostAttributes` property on the prototype, where keys are the attribute name and values are the values to be assigned. Values should typically be provided as strings, as HTML attributes can only be strings; however, the standard `serialize` method is used to convert values to strings, so `true` will serialize to an empty attribute, and `false` will result in no attribute set, and so forth (see [here](#attribute-serialization) for more details).

Example:

Expand Down

0 comments on commit bc40821

Please sign in to comment.