Methods
apply
- apply(component: default<HTMLElement>, variableName: string): default<PATHTYPE>
-
Parameters
-
component: default<HTMLElement>
-
variableName: string
Returns default<PATHTYPE>
get
- get(isVariable?: boolean): null | string
-
Parameters
-
isVariable: boolean = false
Returns null | string
refresh
- refresh(): void
-
Returns void
setCustomPath
- setCustomPath(customPath?: GetterOfOr<undefined | string | default<PathType>>): default<PATHTYPE>
-
Returns default<PATHTYPE>
setExtension
- setExtension(extension?: string): default<PATHTYPE>
-
Parameters
-
extension: string = "png"
Returns default<PATHTYPE>
setType
- setType(type: number): default<PATHTYPE>
-
Returns default<PATHTYPE>
Static
applyPath
- applyPath(component: default<HTMLElement>, path: undefined | string | default<PathType> | ISerializedImagePath, variableName: string): void
-
Parameters
-
component: default<HTMLElement>
-
-
variableName: string
Returns void
Static
cachebust
- cachebust(): void
-
Returns void
Static
of
- of<PATHTYPE>(pathType: PATHTYPE, id: number): default<PATHTYPE>
-
Parameters
-
pathType: PATHTYPE
-
id: number
Returns default<PATHTYPE>
- of(path: string): default<PathType>
-