Fix BaseView.rendered state, and add new rendering/rendered events.
Review Request #13551 — Created Feb. 18, 2024 and submitted — Latest diff uploaded
BaseView.rendered
was set afteronInitialRender()
completed, but
beforeonRender()
completed. This could be a bit non-intuitive, and
limited what informationonRender()
had available. We now set this
afteronRender()
completes.This also adds two new events:
rendering
andrendered
. Both take an
object parameter with aninitialRender
boolean. Consumers can listen
to this to perform actions pre/post-render, making it easier to perform
actions at the right point in the render stages in a consistent way.
Unit tests pass.
Made use of the new signals in some in-progress work.