Update README.md

This commit is contained in:
Eugenio Romano
2016-07-15 10:55:54 +01:00
committed by GitHub
parent ab2b3778ef
commit 4c9463338f

View File

@@ -74,13 +74,6 @@ Also make sure you include these dependencies in your `index.html` file:
## Basic usage example ## Basic usage example
**my.component.html**
```html
<alfresco-datatable
[data]="data">
</alfresco-datatable>
```
**my.component.ts** **my.component.ts**
@@ -93,7 +86,8 @@ import {
@Component({ @Component({
selector: 'my-view', selector: 'my-view',
templateUrl: './my.component.html', template: `<alfresco-datatable [data]="data">
</alfresco-datatable>`,
directives: [ALFRESCO_DATATABLE_DIRECTIVES] directives: [ALFRESCO_DATATABLE_DIRECTIVES]
}) })
export class MyView { export class MyView {