Skip to content

init from a Window should work like "onload" event? #2761

Closed Answered by tronical
microhobby asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! The init callback is invoked when the Window is constructed, so that's before your call to on_request_vendor_name. In this case you don't really need init, you can just set the vendor property directly.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by microhobby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants