Skip to content

Commit

Permalink
doc: minor update to include global functions
Browse files Browse the repository at this point in the history
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
  • Loading branch information
XuNeo committed Oct 22, 2024
1 parent 2553bbb commit d25acfb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/lvgl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,11 @@ end
--- @param parent? Object | nil
--- @param property? StyleProp
--- @return Object
function lvgl.Object(parent, property)
function Object(parent, property)
end

lvgl.Object = Object

--- Create Calendar widget on parent
--- @param parent? Object | nil
--- @param property? StyleProp
Expand Down Expand Up @@ -364,17 +366,21 @@ end
--- @param parent? Object | nil
--- @param property? ImageStyle
--- @return Image
function lvgl.Image(parent, property)
function Image(parent, property)
end

lvgl.Image = Image

---
--- Create Label on parent
--- @param parent? Object | nil
--- @param property? LabelStyle
--- @return Label
function lvgl.Label(parent, property)
function Label(parent, property)
end

lvgl.Label = Label

---
--- Create Textarea Widget on parent
--- @param parent? Object | nil
Expand Down

0 comments on commit d25acfb

Please sign in to comment.