diff --git a/lib/legacy/legacy-element-mixin.html b/lib/legacy/legacy-element-mixin.html index e831d6c1ef..013d86efd8 100644 --- a/lib/legacy/legacy-element-mixin.html +++ b/lib/legacy/legacy-element-mixin.html @@ -430,7 +430,7 @@ * are not automatically handled. For example, * a user should call `distributeContent` if distribution has been * invalidated due to an element being added or removed from the shadowRoot - * that contains an insertion point () inside its subtree. + * that contains an insertion point (``) inside its subtree. */ distributeContent() { if (window.ShadyDOM && this.shadowRoot) { diff --git a/lib/mixins/property-effects.html b/lib/mixins/property-effects.html index 5be94f0c8f..2321826b7e 100644 --- a/lib/mixins/property-effects.html +++ b/lib/mixins/property-effects.html @@ -605,7 +605,7 @@ /** * Returns true if a binding's metadata meets all the requirements to allow - * 2-way binding, and therefore a -changed event listener should be + * 2-way binding, and therefore a `-changed` event listener should be * added: * - used curly braces * - is a property (not attribute) binding @@ -1322,7 +1322,7 @@ * * The implementation makes a best-effort at binding interop: * Some native element properties have side-effects when - * re-setting the same value (e.g. setting .value resets the + * re-setting the same value (e.g. setting `.value` resets the * cursor position), so we do a dirty-check before setting the value. * However, for better interop with non-Polymer custom elements that * accept objects, we explicitly re-set object changes coming from the diff --git a/lib/mixins/template-stamp.html b/lib/mixins/template-stamp.html index af17ee3bfe..5efcab5303 100644 --- a/lib/mixins/template-stamp.html +++ b/lib/mixins/template-stamp.html @@ -136,43 +136,46 @@ * The template metadata object returned from this method has the following * structure (many fields optional): * + * ```js * { * // Flattened list of node metadata (for nodes that generated metadata) * nodeInfoList: [ * { * // `id` attribute for any nodes with id's for generating `$` map - * id: '', + * id: {string}, * // `on-event="handler"` metadata * events: [ * { - * name: '' - * value: '' + * name: {string}, // event name + * value: {string}, // handler method name * }, ... * ], * // Notes when the template contained a `` for shady DOM * // optimization purposes - * hasInsertionPoint: , - * // For nested