Skip to content

Commit d53dfe1

Browse files
authored
Merge pull request #2658 from adumesny/master
added ng component input example
2 parents 411be1b + e1bfb42 commit d53dfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular/projects/demo/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class AppComponent implements OnInit {
4040
cellHeight: 70,
4141
columnOpts: { breakpoints: [{w:768, c:1}] },
4242
}
43-
private sub0: NgGridStackWidget[] = [{x:0, y:0, selector:'app-a'}, {x:1, y:0, content:'plain html'}, {x:0, y:1, selector:'app-b'} ];
43+
private sub0: NgGridStackWidget[] = [{x:0, y:0, selector:'app-a'}, {x:1, y:0, selector:'app-a', input: {text: 'bar'}}, {x:1, y:1, content:'plain html'}, {x:0, y:1, selector:'app-b'} ];
4444
public gridOptionsFull: NgGridStackOptions = {
4545
...this.gridOptions,
4646
children: this.sub0,

0 commit comments

Comments
 (0)