mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
doc: update closebutton
This commit is contained in:
@@ -3,7 +3,8 @@ Button widget that shows an "×" and handles closing window when tapped
|
||||
|
||||
Example:
|
||||
|
||||
local parent_widget = HorizontalGroup:new{}
|
||||
local CloseButton = require("ui/widget/closebutton")
|
||||
local parent_widget = OverlapGroup:new{}
|
||||
table.insert(parent_widget, CloseButton:new{
|
||||
window = parent_widget,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user