Skip to content

Instantly share code, notes, and snippets.


Herberth herberthobregon

Block or report user

Report or block herberthobregon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
herberthobregon / polymer-3-lit-template.js
Last active Jan 21, 2019
Polymer 3 Code Template for WebStom, PhpStorm, All JetBrains IDE
View polymer-3-lit-template.js
#set($CLASS_NAME = "")
#set($part = "")
#set($end = $NAME.length() - 3)
#set($NAME = "$NAME.substring(0,$end)")
#foreach($part in $NAME.split("-"))
#set($CLASS_NAME = "${CLASS_NAME}$part.substring(0,1).toUpperCase()$part.substring(1).toLowerCase()")
import { LitElement, html } from 'lit-element/lit-element.js';
You can’t perform that action at this time.