From 38bccb540d34dc1b5d9f2fe4d5daa11458742020 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Sun, 18 Jun 2023 22:38:47 +0100 Subject: [PATCH] Layout.md: separate the docs for `options` --- modules/Layout.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/Layout.md b/modules/Layout.md index 95bf116dc..6a59948a2 100644 --- a/modules/Layout.md +++ b/modules/Layout.md @@ -54,6 +54,9 @@ layout.render(); - A `fillx` int to choose if the object should fill available space in x. 0=no, 1=yes, 2=2x more space - A `filly` int to choose if the object should fill available space in y. 0=no, 1=yes, 2=2x more space - `width` and `height` fields to optionally specify minimum size options is an object containing: + +`options` has: + - `lazy` - a boolean specifying whether to enable automatic lazy rendering - `btns` - array of objects containing: - `label` - the text on the button