We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use the @singleton-i18n/angular-client.VIPModule.forChild function in @singleton-i18n/angular-client

To help you get started, we’ve selected a few @singleton-i18n/angular-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vmware / singleton / sample / src / app / modules / lazy-module / lazy.module.ts View on Github external
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { VIPModule, VIPService, PatternCategories } from '@singleton-i18n/angular-client';

import { LazyModuleRoutingModule } from './lazy-module-routing.module';
import { CotactComponent } from './contact/contact.component';
import { ENGLISH } from './contact.l10n';

@NgModule({
    declarations: [CotactComponent],
    imports: [
        CommonModule,
        LazyModuleRoutingModule,
        VIPModule.forChild(),
    ]
})
export class LazyModule {
    constructor(private vipService: VIPService) {
        this.vipService.initData({
            productID: 'SingletonContact',
            component: 'default',
            version: '1.0.0',
            host: 'http://localhost:8091/',
            isPseudo: false,
            collectSource: false,
            sourceBundle: ENGLISH
        });
    }
}