Created
October 25, 2019 12:03
-
-
Save luruke/652c287fabee5a6db053b03a90109e15 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
import { Component } from 'kapla'; | |
import dom from 'gl/dom'; | |
export default class extends Component { | |
init() { | |
dom.register(this.$el); | |
} | |
destroy() { | |
dom.unregister(this.$el); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment