Open ghost opened 8 years ago
Hope the answer is yes :)
I've been trying to implement it, but I'm running into trouble getting it to see the selector. My component code currently looks like this; `export class AppComponent { elementRef: ElementRef;
constructor (elementRef: ElementRef) {
this.elementRef = elementRef;
}
ngAfterViewChecked() {
jQuery(this.elementRef.nativeElement).gridster({ el: '.gridster ul', widget_margins: [10, 10], widget_base_dimensions: [140, 140]});
}
}`
And the HTML is the standard test HTML from the gridster site. Presumably something is wrong with my constructor, but using it in its original fashion from the site leads to tons of errors. Is it actually just incompatible with Angular 2 at this point, or is there something I can do?
is there any possibility yet to use gridster with angular2?