ngx-svg-graphics
Version:
Small svg library to link components or svg elements with arrows and allow to drag components.
17 lines (16 loc) • 843 B
TypeScript
import { ArrowStyleConfiguration } from "../models/arrow-style-configuration";
import * as i0 from "@angular/core";
/*****
default implementation
You can extend this base case with an own service implementation.
Make sure to configure DI to use your service instead of this one
In 20205, the way to do so is to declare it as provider in app.config.ts or app.component.ts
providers: [{ provide: ArrowStyleConfigurationService, useClass: YourServiceImplementation }],
See https://angular.dev/guide/di/dependency-injection-providers
***/
export declare class ArrowStyleConfigurationService {
constructor();
styleArrow(arrowType?: string): ArrowStyleConfiguration;
static ɵfac: i0.ɵɵFactoryDeclaration<ArrowStyleConfigurationService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ArrowStyleConfigurationService>;
}