Skip to content

Instantly share code, notes, and snippets.

💻
Focusing

Herberth herberthobregon

💻
Focusing
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
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 = "")
#if($NAME.endsWith(".js"))
#set($end = $NAME.length() - 3)
#set($NAME = "$NAME.substring(0,$end)")
#end
#foreach($part in $NAME.split("-"))
#set($CLASS_NAME = "${CLASS_NAME}$part.substring(0,1).toUpperCase()$part.substring(1).toLowerCase()")
#end
import { LitElement, html } from 'lit-element/lit-element.js';
You can’t perform that action at this time.