* Resets a node's actions with those defined in the given actions string. * @param {!Element} node * @param {string} actionsStr
(node, actionsStr)
| 799 | * @param {string} actionsStr |
| 800 | */ |
| 801 | setActions(node, actionsStr) { |
| 802 | node.setAttribute('on', actionsStr); |
| 803 | |
| 804 | // Clear cache. |
| 805 | delete node[ACTION_MAP_]; |
| 806 | } |
| 807 | |
| 808 | /** |
| 809 | * Given a browser 'change' or 'input' event, add `detail` property to it |
no test coverage detected