diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-25 18:56:49 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-25 18:56:49 +0530 |
| commit | 2c7d36b4aa53ffa638a7aa7046767f10e7a152bf (patch) | |
| tree | 679c34d6566f5a774bcd5f979af755cf3cfeac4f /TODO.org | |
| parent | 51be15cd7c9f39276f27d416356744041e62c22c (diff) | |
| download | null-browser-2c7d36b4aa53ffa638a7aa7046767f10e7a152bf.tar.gz null-browser-2c7d36b4aa53ffa638a7aa7046767f10e7a152bf.zip | |
Expose decorations enable/disable lua api
Diffstat (limited to 'TODO.org')
| -rw-r--r-- | TODO.org | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
