Skip to content

Unexpected token '=' #34

@Josuruma

Description

@Josuruma

[x] bug

Expected behavior

Using the example in a fresh angular app

Actual behavior

Just giving errors by using ng serve
ERROR in src/app/app.component.html:3:29 - error NG5002: Parser Error: Unexpected token '=' at column 36 in [{top: 2,left: 2,height: 1,width: 1}=$event]
Also crashing the complete app:
src/app/app.module.ts:10:5 - error NG6001: The class 'AppComponent' is listed in the declarations of the NgModule 'AppModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.

Reproduction of behavior

Created a new angular project with ng new and installed ngx-widget-grid via npm.
Added the module to app.module.ts and used the example.

Environment details

  • Angular version: 10.1.4
  • OS and version: Debian 9
  • Browser: all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions