Skip to content

Commit 83f350f

Browse files
authored
Readme improvement for template property of configuration components (#314)
* Readme improvement for template property of configuration components * Readme improvement for template property of configuration components
1 parent e1b4b9e commit 83f350f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,11 @@ export class AppComponent {
406406
}
407407
```
408408

409+
Angular has a built-in `template` directive. To define the `template` property of the configuration component (for example, `dxo-master-detail`), use the following code:
410+
```html
411+
<dxo-master-detail [template]="'masterDetail'"></dxo-master-detail>
412+
```
413+
409414
### <a name="accessing-widget-instance"></a>Accessing a DevExtreme Widget Instance ###
410415

411416
You can access a DevExtreme widget instance by using the Angular 2 component query syntax and the component's

0 commit comments

Comments
 (0)