Skip to content

Commit

Permalink
Added shadowDOM encapsulation to wvr-nav-list and wvr-nav-li components
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathew1011 committed Mar 20, 2020
1 parent c353d06 commit ce4bc7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { Component, HostBinding, Input } from '@angular/core';
import { Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';

/**
* The WvrNavLi Component is the list element to be used with the wvr-nav-list element.
*/
@Component({
selector: 'wvr-nav-li-element',
templateUrl: './wvr-nav-li.component.html',
styleUrls: ['./wvr-nav-li.component.scss']
styleUrls: ['./wvr-nav-li.component.scss'],
encapsulation: ViewEncapsulation.ShadowDom
})
export class WvrNavLiComponent {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Component, Input } from '@angular/core';
import { Component, Input, ViewEncapsulation } from '@angular/core';
import { Alignment } from '../shared/alignment.enum';

/**
Expand All @@ -8,7 +8,8 @@ import { Alignment } from '../shared/alignment.enum';
@Component({
selector: 'wvr-nav-list-element',
templateUrl: './wvr-nav-list.component.html',
styleUrls: ['./wvr-nav-list.component.scss']
styleUrls: ['./wvr-nav-list.component.scss'],
encapsulation: ViewEncapsulation.ShadowDom
})
export class WvrNavListComponent {

Expand Down

0 comments on commit ce4bc7d

Please sign in to comment.