Angular Svg Icon Versions Save

Angular component and service for inlining SVGs allowing them to be easily styled with CSS.

v10.0.0

3 years ago

Rebuild with Angular 10.

v9.2.0

4 years ago

I backed out the change that automatically duplicated the svg-icon class and applied it to the svg that was added in v9.1.0.

There are now two options to apply the svg-icon's class to the svg in 9.2.0. Option 1: use the new [svgClass] attribute. Option 2: use the [class] attribute and set applyClass="true" to duplicate the svg-icon class onto the svg.

v9.0.0

4 years ago

Migrate to Angular 9.

BREAKING CHANGE: as of [email protected], an explicit call to forRoot() must be made on the module's import. Example:

@NgModule({
  imports: [ HttpClientModule, AngularSvgIconModule.forRoot() ],
  ...
})

v7.0.0

5 years ago

Support for Angular Universal courtesy of @edulelis!

v6.0.1

5 years ago

Support Angular 7 and beyond peer dependencies.

v6.0.0

6 years ago

Update for Angular 6. Added addSvg function to load svg from string.

v5.1.1

6 years ago

Minor update to fix changing svg src.

v5.1.0

6 years ago

Update to Renderer2 and added [stretch] and [svgStyle] to directly apply styles to the loaded svg.

v5.0.0

6 years ago

Use HttpClient from @angular/common/http.

Note: For use Angular 2.4 through Angular 4.2, please install [email protected] and see the module's accompanying README.md for instructions.

v4.2.6

6 years ago

Added peerDependencies for ^5.0.0.

Note: This will be the final release using Http of @angular/http before the move to HttpClient of @angular/common/http.