Skip to content

Commit a8c17c4

Browse files
committed
TINY-11907: Add new readonly prop to Angular integration.
1 parent 2f68e23 commit a8c17c4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
** xref:licensekey[`+licenseKey+`]
99
** xref:cloudchannel[`+cloudChannel+`]
1010
** xref:disabled[`+disabled+`]
11+
** xref:readonly[`+readonly+`]
1112
** xref:id[`+id+`]
1213
** xref:init[`+init+`]
1314
** xref:initialvalue[`+initialValue+`]
@@ -97,6 +98,7 @@ The editor accepts the following properties:
9798
apiKey="no-api-key"
9899
cloudChannel="{productmajorversion}"
99100
[disabled]="false"
101+
[readonly]="false"
100102
id=""
101103
[init]="{ }"
102104
initialValue=""
@@ -193,6 +195,24 @@ The `+disabled+` property can dynamically switch the editor between a "disabled"
193195
<editor [disabled]="true" />
194196
----
195197

198+
[[readonly]]
199+
=== `+readonly+`
200+
201+
The `+readonly+` property can dynamically switch the editor between a "read-only" mode (`+true+`) and the standard editable mode (`+false+`).
202+
203+
*Type:* `+Boolean+`
204+
205+
*Default value:* `+false+`
206+
207+
*Possible values:* `+true+`, `+false+`
208+
209+
==== Example: using `+readonly+`
210+
211+
[source,html]
212+
----
213+
<editor [readonly]="true" />
214+
----
215+
196216
[[id]]
197217
=== `+id+`
198218

0 commit comments

Comments
 (0)