Browse Source

DOC-3205: Update docs with Blazor changes (#3702)

pull/3720/head
spocke 3 months ago
committed by GitHub
parent
commit
d450064d02
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 20
      modules/ROOT/partials/integrations/blazor-tech-ref.adoc

20
modules/ROOT/partials/integrations/blazor-tech-ref.adoc

@ -123,7 +123,7 @@ Set the editor to inline mode.
=== `Disable`
Set the editor to readonly mode.
Sets the editor to a disable state.
*Type:* `+Boolean+`
@ -139,6 +139,24 @@ Set the editor to readonly mode.
<button @onclick="@(() => disable = !disable)">Toggle</button>
----
=== `Readonly`
Sets the editor to readonly mode.
*Type:* `+Boolean+`
*Default value:* `+false+`
==== Example using Readonly
[source,cs]
----
<Editor
Readonly=@readonly
/>
<button @onclick="@(() => readonly = !readonly)">Toggle</button>
----
=== `JsConfSrc`
Use a JS object as base configuration for the editor by specifying the path to the object relative to the window object.

Loading…
Cancel
Save