diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-12-19 10:30:08 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-01-06 14:37:16 +0000 |
| commit | ab37648cb1c3a4ab7db23e3a8cdef87008d5d1e0 (patch) | |
| tree | 3d15d1f0d3a5748505bea713e5098b715f0119fe /addons/web/static/src/js/components/custom_file_input.js | |
| parent | f2046910bd0649ce78285245f9b929224c4b06e7 (diff) | |
[ADD] web: useFocusOnUpdate hook
Added a new custom hooks: useFocusOnUpdate.
This hook returns a function taking a DOM selector as an argument.
That function will focus the first matching element on the next repaint of
the component.
Diffstat (limited to 'addons/web/static/src/js/components/custom_file_input.js')
0 files changed, 0 insertions, 0 deletions
