JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › Smart Card View › Reply To: Smart Card View
April 16, 2021 at 1:33 pm
#101714
Member
Hi paul,
Thank you for contacting us, again!
After some testing I was able to find out why the icons are not displayed in your project.ViewEncapsulation
defines template and style encapsulation options available for component’s.
Just add the following code snippet to you app.componetn.ts file:
import { Component, ViewChild, OnInit, AfterViewInit, ViewEncapsulation } from '@angular/core';
import { CardViewComponent, Smart } from 'smart-webcomponents-angular/cardview';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css'],
encapsulation: ViewEncapsulation.None
})
Please, do not hesitate to contact us if you have any additional questions.
Best regards,
Yavor Dashev
Smart UI Team
https://www.htmlelements.com/