This package has been deprecated

Author message:

this package is no longer used, see new viewencapsulation in core

@hapiness/ng-shadow-dom-renderer
TypeScript icon, indicating that this package has built-in type declarations

6.3.0 • Public • Published

Hapiness

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 {}

Back to top

Change History

  • v6.3.0 (2018-06-20)
    • Create ShadowDomV1Renderer to fix angular issue #24397.
    • Expose factory overrideRenderFactory to be used inside Angular applications.
    • Version related to others modules of this packages.
    • Documentation.

Back to top

Maintainers

tadaweb
Julien Fauville Antoine Gomez Sébastien Ritz Nicolas Jessel

Back to top

License

Copyright (c) 2018 Hapiness Licensed under the MIT license.

Back to top

Package Sidebar

Install

npm i @hapiness/ng-shadow-dom-renderer

Weekly Downloads

0

Version

6.3.0

License

MIT

Unpacked Size

200 kB

Total Files

20

Last publish

Collaborators

  • hapiness