(elem, props)
| 310 | * @param {Object} props - Object of props. |
| 311 | */ |
| 312 | const setProps = function(elem, props) { |
| 313 | |
| 314 | Object.keys(props).forEach((key) => setProp(elem, { |
| 315 | key: key, |
| 316 | value: props[key] |
| 317 | })) |
| 318 | |
| 319 | } |
| 320 | |
| 321 | /** |
| 322 | * Gets and sets new props when the user has scrolled and when there are active instances. |