* Renders the specified template element using the supplied data. * @param {!Element} templateElement * @param {!JsonObject} data * @return {!Promise<!Element>}
(templateElement, data)
| 74 | * @return {!Promise<!Element>} |
| 75 | */ |
| 76 | renderTemplate(templateElement, data) { |
| 77 | return this.getImplementation_(templateElement).then((impl) => { |
| 78 | return this.render_(impl, data); |
| 79 | }); |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Renders the specified template element using the supplied data. |
no test coverage detected