* Requests HTML snippet from the parent window. * @param {string} selector CSS selector * @param {!Array } attributes permissible attributes to be kept * in the returned HTML string * @param {function(*)} callback to be invoked with the HTML string
(selector, attributes, callback)
| 190 | * @param {function(*)} callback to be invoked with the HTML string |
| 191 | */ |
| 192 | getHtml(selector, attributes, callback) { |
| 193 | this.client_.getData( |
| 194 | MessageType_Enum.GET_HTML, |
| 195 | { |
| 196 | 'selector': selector, |
| 197 | 'attributes': attributes, |
| 198 | }, |
| 199 | callback |
| 200 | ); |
| 201 | } |
| 202 | |
| 203 | /** |
| 204 | * Requests consent state from the parent window. |
no test coverage detected