Objects
Info
Properties
| Name | Type | Description |
|---|---|---|
id | string | The ID of the info pill. |
visible | boolean | Whether the info pill is visible. |
label | string? | The label of the info pill. |
style | string? | The CSS style of the info pill. |
content | string | The content of the info pill. |
wrap | boolean? | Whether the content should be wrapped in its default container. |
Functions
update_visible(value)
Update the visibility of the info pill.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | boolean | Whether the info pill should be visible. |
Example
update_label(value)
Update the label of the info pill.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | The label of the info pill. |
Example
update_style(value)
Update the CSS style of the info pill.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | The CSS style of the info pill. |
Example
update_content(value, wrap)
Update the content of the info pill.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | string | The content of the info pill. |
wrap | boolean? | Whether the content should be wrapped in its default container. |
Example
update_wrap(value)
Update the wrap of the info pill.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | boolean | Whether the content should be wrapped in its default container. |
Example
Footnotes
- Type definitions that can be used with the Lua extension in VSCode are available on the public GitHub repository.