How to use the octicons.law 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 / app.component.ts View on Github external
ngOnInit() {
    this.github = this.sanitizer.bypassSecurityTrustHtml(octicons.octoface.toSVG({style: 'vertical-align: middle'}));
    this.law = this.sanitizer.bypassSecurityTrustHtml(octicons.law.toSVG({style: 'vertical-align: text-bottom'}));
    this.license = this.infoService.getRepoUrl() + '/blob/master/LICENSE';
  }
}