Skip to content

Commit d450064

Browse files
authored
DOC-3205: Update docs with Blazor changes (#3702)
1 parent cc2220f commit d450064

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Set the editor to inline mode.
123123

124124
=== `Disable`
125125

126-
Set the editor to readonly mode.
126+
Sets the editor to a disable state.
127127

128128
*Type:* `+Boolean+`
129129

@@ -139,6 +139,24 @@ Set the editor to readonly mode.
139139
<button @onclick="@(() => disable = !disable)">Toggle</button>
140140
----
141141

142+
=== `Readonly`
143+
144+
Sets the editor to readonly mode.
145+
146+
*Type:* `+Boolean+`
147+
148+
*Default value:* `+false+`
149+
150+
==== Example using Readonly
151+
152+
[source,cs]
153+
----
154+
<Editor
155+
Readonly=@readonly
156+
/>
157+
<button @onclick="@(() => readonly = !readonly)">Toggle</button>
158+
----
159+
142160
=== `JsConfSrc`
143161

144162
Use a JS object as base configuration for the editor by specifying the path to the object relative to the window object.

0 commit comments

Comments
 (0)