mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
[skip-ci] update comment for Polymer.html
This commit is contained in:
@@ -25,9 +25,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
}
|
||||
|
||||
/**
|
||||
* Small tagged template string function to facilitate building a `<template>` element.
|
||||
* Polymer.html will automatically compose `<template>` elements in `${}` blocks, allowing for easy
|
||||
* composition of superclass templates, or partial templates.
|
||||
* A template literal tag1 that creates an HTML <template> element from the contents of the string.
|
||||
*
|
||||
* This allows you to write a Polymer Template in JavaScript.
|
||||
*
|
||||
* Interpolated values are converted to strings when the template is created,
|
||||
* they are not intended as a replacement for Polymer data-binding.
|
||||
*
|
||||
* There is special support for HTMLTemplateElement values,
|
||||
* allowing for easy composition of superclass or partial templates.
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user