Fix BaseView.rendered state, and add new rendering/rendered events.
Review Request #13551 — Created Feb. 18, 2024 and submitted — Latest diff uploaded
BaseView.renderedwas 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:
renderingandrendered. Both take an
object parameter with aninitialRenderboolean. 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.