Skip to content

Commit c833e52

Browse files
committed
Specify an examples for string and non-string options
1 parent 74279e5 commit c833e52

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ This project allows you to use [DevExtreme Widgets](http://js.devexpress.com/Dem
1010
* [Starting a new application](#create-application)
1111
* [Running the local examples](#running-examples)
1212
* [Usage samples](#usage-samples)
13-
* [Static option value](#static-option)
13+
* [Static string option value](#static-string-option)
14+
* [Static non-string option value](#static-non-string-option)
1415
* [Event handling](#event-handling)
1516
* [One-way option binding](#one-way-binding)
1617
* [Two-way option binding](#two-way-binding)
@@ -133,7 +134,7 @@ Navigate to [http://127.0.0.1:8875/examples/](http://127.0.0.1:8875/examples/) i
133134

134135
## <a name="usage-samples"></a>Usage Samples ##
135136

136-
### <a name="static-option"></a>Static Option Value ###
137+
### <a name="static-string-option"></a>Static String Option Value ###
137138

138139
To specify a string widget's option statically
139140
(the [text](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/?version=15_2#text)
@@ -143,6 +144,16 @@ option of dxButton):
143144
<dx-button text="Simple button"></dx-button>
144145
```
145146

147+
### <a name="static-non-string-option"></a>Static Non-string Option Value ###
148+
149+
To specify a non-string widget's option statically
150+
(the [disabled](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/?version=15_2#disabled)
151+
option of dxButton):
152+
153+
```html
154+
<dx-button [disabled]="false"></dx-button>
155+
```
156+
146157
### <a name="event-handling"></a>Event Handling ###
147158

148159
To bind the dxButton’s [click](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Events/?version=15_2#click) event:

0 commit comments

Comments
 (0)