spocke
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
19 additions and
1 deletions
-
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. |
|
|
|