Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions modules/ROOT/partials/integrations/angular-tech-ref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
** xref:licensekey[`+licenseKey+`]
** xref:cloudchannel[`+cloudChannel+`]
** xref:disabled[`+disabled+`]
** xref:readonly[`+readonly+`]
** xref:id[`+id+`]
** xref:init[`+init+`]
** xref:initialvalue[`+initialValue+`]
Expand Down Expand Up @@ -97,6 +98,7 @@ The editor accepts the following properties:
apiKey="no-api-key"
cloudChannel="{productmajorversion}"
[disabled]="false"
[readonly]="false"
id=""
[init]="{ }"
initialValue=""
Expand Down Expand Up @@ -193,6 +195,24 @@ The `+disabled+` property can dynamically switch the editor between a "disabled"
<editor [disabled]="true" />
----

[[readonly]]
=== `+readonly+`

The `+readonly+` property can dynamically switch the editor between a "read-only" mode (`+true+`) and the standard editable mode (`+false+`).

*Type:* `+Boolean+`

*Default value:* `+false+`

*Possible values:* `+true+`, `+false+`

==== Example: using `+readonly+`

[source,html]
----
<editor [readonly]="true" />
----

[[id]]
=== `+id+`

Expand Down
Loading