Created
January 9, 2018 21:34
-
-
Save johnpryan/860b8f988582daf209330ef80f9ffa10 to your computer and use it in GitHub Desktop.
IntelliJ templates for PolymerDart
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
@HtmlImport('${NAME}.html') | |
library ${NAME}; | |
import 'package:polymer/polymer.dart'; | |
import 'package:web_components/web_components.dart'; | |
@PolymerRegister(${CLASS_NAME}.tag) | |
class ${CLASS_NAME} extends PolymerElement { | |
static const String tag = '${TAG_NAME}'; | |
${CLASS_NAME}.created() : super.created(); | |
} |
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
<dom-module id="${TAG_NAME}"> | |
<style> | |
</style> | |
<template> | |
</template> | |
</dom-module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment