### File

`projects/commons/src/lib/elements/particle/particle.module.ts`

### Declarations

- ParticleBackgroundDirective

### Exports

- ParticleBackgroundDirective

    import { NgModule } from '@angular/core';
    import { ParticlesModule } from 'angular-particle';

    import { ParticleBackgroundDirective } from './directives/background';
    import { mathRandom } from './constants';

    @NgModule({
        imports: [
            ParticlesModule,
        ],
        declarations: [
            ParticleBackgroundDirective,
        ],
        providers: [
            {
                provide: 'Math',
                useValue: {
                    random: mathRandom,
                },
            },
        ],
        exports: [
            ParticleBackgroundDirective,
        ],
    })

    export class ParticleModule {}

# result-matching ""

# No results matching ""