Created
March 28, 2019 21:01
-
-
Save odoe/c7f5f5dd399439d1a2e707ecc16ade77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class Map extends WidgetBase<MapProperties> { | |
onAttach() { | |
const element = this.meta(HtmlMeta).get("elemRef") as HTMLElement; | |
this.properties.initializeMap(element); | |
} | |
protected render() { | |
return <div classes={css.root} key="elemRef" />; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment