DiSky DiSky v5.0.0-b1

Checkbox

type

A single yes/no box of a modal. Read it in 'on modal received' with 'value of checkbox with id' (true or false). It only lives inside a modal; its label is the text next to the box.

5 syntaxesextends Componentnet.itsthesky.disky5.api.components.CheckboxBuilder
5 / 5

Properties

4
propertyText
[the] custom id of %checkbox%
%checkbox%'s custom id
change modes set
Helpful?
propertyText
[the] label of %checkbox%
%checkbox%'s label
change modes set
Helpful?
propertyText
[the] description of %checkbox%
%checkbox%'s description
change modes set
Helpful?
propertyBooleansince 5.0.0-a1
[the] checked of %checkbox%
%checkbox%'s checked

Whether the box is ticked when the modal opens.

change modes set
Helpful?

Expressions

1
expressionCheckboxsince 5.0.0-a1
[a] new checkbox [with] [the] id %string% (named|labeled|with [the] label) %string%

Creates a checkbox for a modal, unticked by default.

Helpful?

Returned by

1

Syntaxes elsewhere in DiSky that return Checkbox.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.