lui
lui copied to clipboard
Element rendered callback
IS
When a function needs the already rendered element, e.g. for scrolling, a setTimeout(..., 0) needs to be put into the R callback.
SHOULD
There should be an intuitive way to define a callback that is called after the dom was updated. Maybe hook_rendered(fn, deps)?
Is that really relevant?
If implemented, it should only be in the extended variant.