Skip to content

Commit bfc3a11

Browse files
committed
TINY-11908: Add new readonly prop to Vue integration. (#3740)
1 parent a76c253 commit bfc3a11

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
** xref:license-key[`+licenseKey+`]
88
** xref:cloud-channel[`+cloud-channel+`]
99
** xref:disabled[`+disabled+`]
10+
** xref:readonly[`+readonly+`]
1011
** xref:id[`+id+`]
1112
** xref:init[`+init+`]
1213
** xref:initial-value[`+initial-value+`]
@@ -99,6 +100,7 @@ The editor accepts the following properties:
99100
api-key="no-api-key"
100101
cloud-channel="{productmajorversion}"
101102
:disabled=false
103+
:readonly=false
102104
id="uuid"
103105
:init= "{ }"
104106
initial-value=""
@@ -205,6 +207,26 @@ The `+disabled+` property can dynamically switch the editor between a "disabled"
205207
/>
206208
----
207209

210+
[[readonly]]
211+
=== `+readonly+`
212+
213+
The `+readonly+` property can dynamically switch the editor between a "read-only" mode (`+true+`) and the standard editable mode (`+false+`).
214+
215+
*Type:* `+Boolean+`
216+
217+
*Default value:* `+false+`
218+
219+
*Possible values:* `+true+`, `+false+`
220+
221+
==== Example: using `+readonly+`
222+
223+
[source,html]
224+
----
225+
<editor
226+
:readonly=true
227+
/>
228+
----
229+
208230
[[id]]
209231
=== `+id+`
210232

0 commit comments

Comments
 (0)