dawid-scripts / Fluent

:3
MIT License
60 stars 97 forks source link

How to refresh Paragraph #20

Open Makxuz1 opened 1 year ago

Makxuz1 commented 1 year ago

How to refresh Paragraph pls help :)

v3zxking commented 1 year ago

Hi, you can create a function to refresh your paragraph.

local Paragraph = Tab:AddParagraph({
    Title = "Title Here",
    Content = "Test 1"
})

Tab:AddButton({
    Title = "Refresh Paragraph",
    Callback = function()
        Paragraph:SetDesc("Test 1") -- if it's a table you can put :SetDesc(table.concat(<table>, <seperator>))
    end
})