jf-roku/components/home/Home.bs

21 lines
653 B
Plaintext
Raw Normal View History

import "pkg:/source/api/baserequest.bs"
import "pkg:/source/utils/config.bs"
import "pkg:/source/utils/misc.bs"
sub init()
2021-07-09 20:08:32 +00:00
m.top.overhangTitle = "Home"
m.top.optionsAvailable = true
if m.global.session.user.settings["ui.home.splashBackground"] = true
m.backdrop = m.top.findNode("backdrop")
m.backdrop.uri = buildURL("/Branding/Splashscreen?format=jpg&foregroundLayer=0.15&fillWidth=1280&width=1280&fillHeight=720&height=720&tag=splash")
end if
end sub
sub refresh()
m.top.findNode("homeRows").callFunc("updateHomeRows")
end sub
sub loadLibraries()
2021-07-09 20:08:32 +00:00
m.top.findNode("homeRows").callFunc("loadLibraries")
2022-05-30 12:57:40 +00:00
end sub