dependencies dependencies cluster_OverlaysSuperpowerModule cluster_OverlaysSuperpowerModule_exports cluster_OverlaysSuperpowerModule_declarations OverlaysDirective OverlaysDirective OverlaysSuperpowerModule OverlaysSuperpowerModule OverlaysDirective->OverlaysSuperpowerModule OverlaysDirective OverlaysDirective OverlaysSuperpowerModule->OverlaysDirective

File

overlays/superpower/overlays-superpower.module.ts

Description

Loads overlay superpowers for the overlays module and makes them available to the core module.

Declarations

import { NgModule } from '@angular/core';

import { SuperpowersChargerService } from '@bespunky/angular-google-maps/core';
import { OverlaysDirective         } from './directive/overlays.directive';
import { OverlaysSuperpower        } from './services/overlays-superpower.service';

/**
 * Loads overlay superpowers for the overlays module and makes them available to the core module.
 *
 * @export
 * @class OverlaysSuperpowerModule
 */
@NgModule({
    declarations: [OverlaysDirective],
    exports     : [OverlaysDirective]
})
export class OverlaysSuperpowerModule
{
    constructor(charger: SuperpowersChargerService)
    {
        charger.charge(OverlaysSuperpower);
    }
}

results matching ""

    No results matching ""