@ngaox/icons
Advanced tools
Comparing version 4.1.0 to 4.2.0
@@ -26,3 +26,3 @@ import { ModuleWithProviders } from '@angular/core'; | ||
export declare class IconsModule { | ||
constructor(icons: INgaoxIcon[] | undefined, iconsService: IconsService); | ||
constructor(iconsService: IconsService, icons?: INgaoxIcon[]); | ||
/** | ||
@@ -45,5 +45,5 @@ * Creates and configures a module with module level Icons and optionally change the default fallbackHtml icon. | ||
static forRoot(icons?: INgaoxIcon[], fallbackHtml?: string): ModuleWithProviders<IconsModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IconsModule, [{ optional: true; }, null]>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<IconsModule, [null, { optional: true; self: true; }]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<IconsModule, [typeof i1.IconComponent], never, [typeof i1.IconComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<IconsModule>; | ||
} |
@@ -22,3 +22,3 @@ import { HttpClient } from '@angular/common/http'; | ||
* | ||
* @see {@link IconsService.add} & {@link IconsService.addByUrl} | ||
* @see {@link IconsService.add} | ||
*/ | ||
@@ -33,5 +33,4 @@ get(name: string): Observable<SVGElement | undefined>; | ||
* | ||
* @see {@link IconsService.addByUrl} | ||
*/ | ||
add(name: string, value: string | ILazyIcon, override?: boolean): Observable<SVGElement | undefined>; | ||
add(name: string, value: string | ILazyIcon): Observable<SVGElement | undefined>; | ||
/** | ||
@@ -38,0 +37,0 @@ * remove a registered icon |
{ | ||
"name": "@ngaox/icons", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Inline SVG icons from (src | files | your favorite icons library | ...)!", | ||
@@ -5,0 +5,0 @@ "ng-add": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91435
963