6.3.0 • Published 7 years ago
@hapiness/ng-shadow-dom-renderer v6.3.0
NG-SHADOW-DOM-RENDERER
This module exposes an Angular's factory to use the shadow DOM V1 spec in Angular renderer until it's fix in core.
We support Angular version 6+.
Installation
$ yarn add @hapiness/ng-shadow-dom-renderer
or
$ npm install --save @hapiness/ng-shadow-dom-rendererDon't miss to install all peer dependencies if not yet done : @angular/core, @angular/platform-browser.
If your in an Angular-CLI application, all dependencies are already installed.
Usage
In your main module add the factory overrideRenderFactory exposed by @hapiness/ng-shadow-dom-renderer.
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { overrideRenderFactory } from '@hapiness/ng-shadow-dom-renderer';
@NgModule({
imports: [
BrowserAnimationsModule
],
providers: [overrideRenderFactory()]
})
export class AppModule {}Change History
- v6.3.0 (2018-06-20)
- Create
ShadowDomV1Rendererto fix angular issue #24397. - Expose factory
overrideRenderFactoryto be used insideAngularapplications. - Version related to others modules of this packages.
Documentation.
- Create
Maintainers
License
Copyright (c) 2018 Hapiness Licensed under the MIT license.
6.3.0
7 years ago