How to use the octicons.paintcan function in octicons

To help you get started, we’ve selected a few octicons examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github devconcept / ng-shopping-cart / docs / base-package / site / app / routes / home / home.component.ts View on Github external
ngOnInit(): void {
    const size = {width: 100, height: 100, fill: 'currentColor'};
    this.getStarted = this.sanitizer.bypassSecurityTrustHtml(octicons.dashboard.toSVG(size));
    this.search = this.sanitizer.bypassSecurityTrustHtml(octicons.search.toSVG(size));
    this.examples = this.sanitizer.bypassSecurityTrustHtml(octicons.paintcan.toSVG(size));
  }
}