ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #17754
Re: [QML] Notify Page when pushed to pagestack
On Tue, 2016-01-19 at 16:10 -0300, Renato Filho wrote:
> Since the page will be created on demand during the page push you can
> use 'Component.onCompleted' to execute your code, if you want to
> execute it only once.
> Or you can 'active' (onActiveChanged) property/signal to monitor when
> the page is the last page on the pageStack.
onActiveChanged does what I need. onCompleted seems to run when the
program is started, and not when the page is added to the pagestack.
Attachment:
signature.asc
Description: This is a digitally signed message part
References