Files
playlet-piped/playlet-lib/src/components/ChannelView/ChannelUtils.bs
T
Brahim Hadriche 549913ef7d Open views (#179)
* adjust todo

* Open view
2023-10-24 17:21:48 -04:00

12 lines
414 B
Plaintext

namespace ChannelUtils
function Open(contentNode as object, appController = invalid as object)
channelView = CreateObject("roSGNode", "ChannelView")
if appController = invalid
appController = m.appController
end if
appController@.PushScreen(channelView)
channelView@.BindNode(invalid)
channelView.content = contentNode
end function
end namespace