forked from MapComplete/MapComplete
Refactoring: convert qr_code to Svelte, deprecate Img.ts
This commit is contained in:
parent
a7c7064636
commit
c892022073
5 changed files with 64 additions and 46 deletions
|
@ -1,11 +1,15 @@
|
|||
import { Utils } from "../../Utils"
|
||||
import BaseUIElement from "../BaseUIElement"
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
export default class Img extends BaseUIElement {
|
||||
private readonly _src: string
|
||||
private readonly _rawSvg: boolean
|
||||
private readonly _options: { readonly fallbackImage?: string }
|
||||
|
||||
/** @deprecated
|
||||
*/
|
||||
constructor(
|
||||
src: string,
|
||||
rawSvg = false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue