From c833e527ef9d1561e5024f346f1d9701bdf96702 Mon Sep 17 00:00:00 2001 From: "Vladykov.Stanislav" Date: Fri, 27 Jan 2017 13:21:28 +0300 Subject: [PATCH 1/3] Specify an examples for string and non-string options --- README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8e91dda75..b334387d2 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ This project allows you to use [DevExtreme Widgets](http://js.devexpress.com/Dem * [Starting a new application](#create-application) * [Running the local examples](#running-examples) * [Usage samples](#usage-samples) - * [Static option value](#static-option) + * [Static string option value](#static-string-option) + * [Static non-string option value](#static-non-string-option) * [Event handling](#event-handling) * [One-way option binding](#one-way-binding) * [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 ## Usage Samples ## -### Static Option Value ### +### Static String Option Value ### To specify a string widget's option statically (the [text](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/?version=15_2#text) @@ -143,6 +144,16 @@ option of dxButton): ``` +### Static Non-string Option Value ### + +To specify a non-string widget's option statically +(the [disabled](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/?version=15_2#disabled) +option of dxButton): + +```html + +``` + ### Event Handling ### To bind the dxButton’s [click](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Events/?version=15_2#click) event: From f94321cad210ca9f9c27f8b67b2307844b13bc10 Mon Sep 17 00:00:00 2001 From: "Vladykov.Stanislav" Date: Fri, 27 Jan 2017 13:28:21 +0300 Subject: [PATCH 2/3] Remove version parameter from links to DevEextreme documentation --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b334387d2..3c2123321 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ Navigate to [http://127.0.0.1:8875/examples/](http://127.0.0.1:8875/examples/) i ### Static String Option Value ### To specify a string widget's option statically -(the [text](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/?version=15_2#text) +(the [text](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/#text) option of dxButton): ```html @@ -147,7 +147,7 @@ option of dxButton): ### Static Non-string Option Value ### To specify a non-string widget's option statically -(the [disabled](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/?version=15_2#disabled) +(the [disabled](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/#disabled) option of dxButton): ```html @@ -156,7 +156,7 @@ option of dxButton): ### Event Handling ### -To bind the dxButton’s [click](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Events/?version=15_2#click) event: +To bind the dxButton’s [click](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Events/#click) event: ```html @@ -165,7 +165,7 @@ To bind the dxButton’s [click](http://js.devexpress.com/Documentation/ApiRefer ### One-way Option Binding ### If we want changes to the value of ‘bindingProperty’ of the host component to propagate to the -[value](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxTextBox/Configuration/?version=15_2#value) of the dxTextBox widget, +[value](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxTextBox/Configuration/#value) of the dxTextBox widget, a one-way binding approach is used: ```html @@ -184,8 +184,8 @@ or vice versa from the widget to the bindingProperty: ### Custom Templates ### In case you want to customize the rendering of a DevExtreme widget, we support custom templates. For instance, we can specify -the [itemTemplate](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxList/Configuration/?version=15_2#itemTemplate) -and [groupTemplate](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxList/Configuration/?version=15_2#groupTemplate) +the [itemTemplate](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxList/Configuration/#itemTemplate) +and [groupTemplate](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxList/Configuration/#groupTemplate) of the dxList widget as follows: ```html From 31c87bd26c9d270c8e820603e197341b8ddde134 Mon Sep 17 00:00:00 2001 From: "Vladykov.Stanislav" Date: Fri, 27 Jan 2017 13:39:58 +0300 Subject: [PATCH 3/3] Revert anchors --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c2123321..3c2a82ab8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This project allows you to use [DevExtreme Widgets](http://js.devexpress.com/Dem * [Starting a new application](#create-application) * [Running the local examples](#running-examples) * [Usage samples](#usage-samples) - * [Static string option value](#static-string-option) + * [Static string option value](#static-option) * [Static non-string option value](#static-non-string-option) * [Event handling](#event-handling) * [One-way option binding](#one-way-binding) @@ -134,7 +134,7 @@ Navigate to [http://127.0.0.1:8875/examples/](http://127.0.0.1:8875/examples/) i ## Usage Samples ## -### Static String Option Value ### +### Static String Option Value ### To specify a string widget's option statically (the [text](http://js.devexpress.com/Documentation/ApiReference/UI_Widgets/dxButton/Configuration/#text)