Files
wanderer/web/src/lib/models/gpx/link.ts
Christian Beutel 8d7ed16904 adds route editing
2024-04-22 22:37:13 +02:00

13 lines
247 B
TypeScript

export default class Link {
$: {
href?: string;
}
text: string;
type: string;
constructor(object: any) {
this.$ = {};
this.$.href = object.$.href || object.href;
this.text = object.text;
this.type = object.type;
}
}