* Returns bound properties for an element. * @param {!Element} element * @return {!Array<{property: string, expressionString: string}>} * @private
(element)
| 964 | * @private |
| 965 | */ |
| 966 | boundPropertiesInElement_(element) { |
| 967 | const boundProperties = []; |
| 968 | const attrs = element.attributes; |
| 969 | for (let i = 0, numberOfAttrs = attrs.length; i < numberOfAttrs; i++) { |
| 970 | const attr = attrs[i]; |
| 971 | const boundProperty = this.boundPropertyInAttribute_(attr, element); |
| 972 | if (boundProperty) { |
| 973 | boundProperties.push(boundProperty); |
| 974 | } |
| 975 | } |
| 976 | return boundProperties; |
| 977 | } |
| 978 | |
| 979 | /** |
| 980 | * Returns the bound property and expression string within a given attribute, |
no test coverage detected