Skip to main content

VisuallyJsModule

VisuallyJs Angular module.

If you're not using stand alone components then you should import this module into your app's module:

import { CUSTOM_ELEMENTS_SCHEMA, BrowserModule } from "@angular/core"
import { VisuallyJsModule } from '@visuallyjs/browser-ui-angular'

@NgModule({
imports: [ BrowserModule, VisuallyJsModule],
declarations: [ SomeComponent ],
bootstrap: [ SomeComponent ],
schemas:[ CUSTOM_ELEMENTS_SCHEMA ]
})

Otherwise, you should import this module into any component in which you wish to use a VisuallyJs Angular component:

import { VisuallyJsModule } from "@visuallyjs/browser-ui-angular"

@Component({
template:`<div>...</div>`,
imports:[VisuallyJsModule]
})
export class MyNodeComponent extends BaseNodeComponent {

}