README
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-renderer
Don'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
ShadowDomV1Renderer
to fix angular issue #24397. - Expose factory
overrideRenderFactory
to be used insideAngular
applications. - Version related to others modules of this packages.
- Documentation.
- Create
Maintainers
Julien Fauville | Antoine Gomez | Sébastien Ritz | Nicolas Jessel |
License
Copyright (c) 2018 Hapiness Licensed under the MIT license.