aboutsummaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-07-25 18:56:49 +0530
committerAkshay Nair <phenax5@gmail.com>2025-07-25 18:56:49 +0530
commit2c7d36b4aa53ffa638a7aa7046767f10e7a152bf (patch)
tree679c34d6566f5a774bcd5f979af755cf3cfeac4f /TODO.org
parent51be15cd7c9f39276f27d416356744041e62c22c (diff)
downloadnull-browser-2c7d36b4aa53ffa638a7aa7046767f10e7a152bf.tar.gz
null-browser-2c7d36b4aa53ffa638a7aa7046767f10e7a152bf.zip
Expose decorations enable/disable lua api
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/TODO.org b/TODO.org
index ce4cb95..f2a714a 100644
--- a/TODO.org
+++ b/TODO.org
@@ -96,8 +96,9 @@ web.search.get_search_text()
web.search.current()
web.search.total()
-web.decorations.top.configure({ visible = true, size = 30 })
-web.decorations.top.configure({ visible = false }) -- hide/show
+web.decorations.top.enable()
+web.decorations.top.disable()
+web.decorations.top.set_size(20)
local view_id = web.decorations.top.view()
web.view.set_html('<div>Hello world</div>', { view = view })
web.decorations.top.destroy() -- Maybe to destroy unwanted webviews