diff --git a/components/particles/projects/ng-particles/src/lib/ng-particles.component.ts b/components/particles/projects/ng-particles/src/lib/ng-particles.component.ts index 5280dbd..8c5d5c8 100644 --- a/components/particles/projects/ng-particles/src/lib/ng-particles.component.ts +++ b/components/particles/projects/ng-particles/src/lib/ng-particles.component.ts @@ -21,7 +21,8 @@ import { NgParticlesService } from './ng-particles.service'; template: '
', }) export class NgxParticlesComponent implements OnInit, AfterViewInit, OnDestroy { - @Input() options?: IParticlesProps; + @Input() options?: string | IParticlesProps; + @Input() id?: string; @Input() url?: string; @Input() id: string; @Input() particlesInit?: (engine: Engine) => Promise