2.0.0 • Published 11 months ago

@windmillcode/wml-chips v2.0.0

Weekly downloads
-
License
LGPL
Repository
-
Last release
11 months ago

Changelog

v1.0.0

* ensured that there is support for ngx-translate and non ngx-translate features
* to enable translation
export function HttpLoaderFactory(http: HttpClient) {
  return new TranslateHttpLoader(http);
}
    HttpClientModule,
    WmlChipsModule
    .forChild(
      new WMLModuleForRootParams({
        ngxTranslateLoaderFactory:HttpLoaderFactory
      })
    ),
* to disable translation
    WmlChipsModule

v1.0.1 -> v1.0.2

  • atteptimg to fix dependencies

2.0.0

  • fixed major problems concerning ngx-translate
// translate
// first make sure to have ONLY ONE in the imports for AppModule
    TranslateModule.forRoot({
      defaultLanguage: 'en',
      loader: {
        provide: TranslateLoader,
        useFactory: HttpLoaderFactory,
        deps:[HttpClient]
      }
    }),
// then
WmlChipsNGXTranslateModule
// for regular
WmlChipsModule
1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

2.0.0

11 months ago

0.1.2

1 year ago

0.1.1

1 year ago