Last active
March 14, 2019 15:58
-
-
Save kylebuch8/ecc95b8caf90267e8f59c36f2a0f110b to your computer and use it in GitHub Desktop.
Constructors in PatternFly Elements
This file contains hidden or 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 PFElement from "../pfelement/pfelement.js"; | |
class MyPfelement extends PFElement { | |
constructor() { | |
// you must call this first | |
super(MyPfelement); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment