Make Img-attributes readonly
This commit is contained in:
parent
4f488fab86
commit
9b40ccd652
1 changed files with 3 additions and 2 deletions
|
@ -2,9 +2,10 @@ import {Utils} from "../../Utils";
|
|||
import BaseUIElement from "../BaseUIElement";
|
||||
|
||||
export default class Img extends BaseUIElement {
|
||||
private _src: string;
|
||||
|
||||
private readonly _src: string;
|
||||
private readonly _rawSvg: boolean;
|
||||
private _options: { fallbackImage?: string };
|
||||
private readonly _options: { readonly fallbackImage?: string };
|
||||
|
||||
constructor(src: string, rawSvg = false, options?: {
|
||||
fallbackImage?: string
|
||||
|
|
Loading…
Reference in a new issue