OptionalariaThe accessible name; default "
OptionalautoGrow with the text between minLines and maxLines (default: true, 3 to 30 lines), or false to fill the container, which then needs a height.
OptionalfetchThe fetch to use for the language services, e.g. to add headers or route through the application's backend.
OptionallanguageThe language; default "bql".
Optionallinefalse hides the line numbers.
OptionalmodelsThe version uuids of the models the text is written for, or a function giving them (asked at every completion). Completion then also proposes the property set, property, quantity set and quantity names those models use, as far as the token may read them; at most 50 count.
OptionalmonacoFurther Monaco editor options (IStandaloneEditorConstructionOptions), applied over the defaults.
OptionalonAfter every change of the text.
OptionalonWhen a request to the language services fails. Without it, the first failure is logged with console.warn.
OptionalonWhenever the status changes.
OptionalplaceholderShown while the editor is empty.
OptionalreadOptionaltheme"light" (default) or "dark", or a theme defined on getMonaco(). Monaco has one theme per page, so this sets it for every editor on the page; leave it out to keep the page's current theme.
OptionaltokenThe token, or a function giving it (or a promise of it). A function is asked before every request, so a refreshed token is picked up.
OptionalvalueThe initial text.
The BIM.works instance, e.g. "https://my.bim.works". A relative address ("/") is resolved against the page, for an application that proxies the instance.