The No.69 universal Roblox universal hub.
- DuccHub: 0.1 (pre-release)
- DuccField: 0.3 (image release)
- test-ui: 0.0.3 (Image test)
- Element:Visible(Boolean)
Element:Visible(True)
Element:Visible(False)
- target_tab:SwitchTab()
TargetTab:SwitchTab()
- Tab:CreateImage()
Code
-- Creates a banner image
local Image = Tab:CreateImage({
ImageType = "Big",
Image = "Image url",
Caption = "Caption",
BlackCaption = true, -- makes caption become black
})
-- Creates a small image
local Image = Tab:CreateImage({
ImageType = "Small",
Image = "Image url",
Caption = "Caption",
BlackCaption = true, -- makes caption become black
})
-- Creates a image in left of label
local Image = Tab:CreateImage({
ImageType = "Left",
Image = "Image url",
Caption = "Caption",
BlackCaption = true, -- makes caption become black
})
-- Creates a image in right of label
local Image = Tab:CreateImage({
ImageType = "Right",
Image = "Image url",
Caption = "Caption",
BlackCaption = true, -- makes caption become black
})
-- Creates a image button
local image = Tab:CreateImage({
ImageType = "Button",
Image = "Image url",
Caption = "Caption",
BlackCaption = true, -- makes caption become black
Callback = function()
-- ur stuff here
end,
})
- Image:SetImage()
image2:SetImage("imageUrl", "Caption", true/false)