How to use the octicons.search 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));
  }
}
github devconcept / ng-shopping-cart / docs / base-package / site / app / components / navbar / navbar.component.ts View on Github external
ngOnInit() {
    this.githubIcon = this.sanitizer.bypassSecurityTrustHtml(octicons['mark-github'].toSVG({fill: 'white'}));
    this.searchIcon = this.sanitizer.bypassSecurityTrustHtml(octicons.search.toSVG({style: 'vertical-align:text-bottom;'}));
    this.version = this.infoService.getVersion();
    this.repoUrl = this.infoService.getRepoUrl();
    this.navbar = this.tocService.getNavbarItems();
  }