mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
19 lines
328 B
TypeScript
19 lines
328 B
TypeScript
|
|
import NoteContextAwareWidget from "./note_context_aware_widget.js";
|
||
|
|
|
||
|
|
const TPL = `\
|
||
|
|
<div class="geo-map-widget">
|
||
|
|
Map goes here.
|
||
|
|
</div>`
|
||
|
|
|
||
|
|
export default class GeoMapWidget extends NoteContextAwareWidget {
|
||
|
|
|
||
|
|
constructor(widgetMode: "type") {
|
||
|
|
super();
|
||
|
|
}
|
||
|
|
|
||
|
|
doRender() {
|
||
|
|
this.$widget = $(TPL)
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|