From 2c7d36b4aa53ffa638a7aa7046767f10e7a152bf Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 25 Jul 2025 18:56:49 +0530 Subject: Expose decorations enable/disable lua api --- TODO.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'TODO.org') 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('
Hello world
', { view = view }) web.decorations.top.destroy() -- Maybe to destroy unwanted webviews -- cgit v1.3.1