13 lines
334 B
Plaintext
13 lines
334 B
Plaintext
|
sub Init()
|
||
|
m.title = m.top.findNode("title")
|
||
|
m.title.text = "Loading..."
|
||
|
end sub
|
||
|
|
||
|
function itemContentChanged() as void
|
||
|
' re-declare this because init doesnt re-run
|
||
|
' when we come back from elsewhere
|
||
|
m.title = m.top.findNode("title")
|
||
|
|
||
|
itemData = m.top.itemContent
|
||
|
m.title.text = itemData.title
|
||
|
end function
|