mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
update types
This commit is contained in:
@@ -24,6 +24,10 @@ function Polymer_PropertiesChanged(){}
|
||||
Polymer_PropertiesChanged.prototype._createPropertyAccessor = function(property, readOnly){};
|
||||
/**
|
||||
* @param {string} property Name of the property
|
||||
*/
|
||||
Polymer_PropertiesChanged.prototype._addPropertyToAttributeMap = function(property){};
|
||||
/**
|
||||
* @param {string} property Name of the property
|
||||
* @param {boolean=} readOnly When true, no setter is created
|
||||
* @return {void}
|
||||
*/
|
||||
|
||||
9
types/lib/mixins/properties-changed.d.ts
vendored
9
types/lib/mixins/properties-changed.d.ts
vendored
@@ -77,6 +77,15 @@ declare namespace Polymer {
|
||||
*/
|
||||
_createPropertyAccessor(property: string, readOnly?: boolean): void;
|
||||
|
||||
/**
|
||||
* Adds the given `property` to a map matching attribute names
|
||||
* to property names, using `attributeNameForProperty`. This map is
|
||||
* used when deserializing attribute values to properties.
|
||||
*
|
||||
* @param property Name of the property
|
||||
*/
|
||||
_addPropertyToAttributeMap(property: string): any;
|
||||
|
||||
/**
|
||||
* Defines a property accessor for the given property.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user