mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-16 10:54:42 +08:00
Move style related actions to templates
This commit is contained in:
15
js/graph/GraphPin.js
Normal file
15
js/graph/GraphPin.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import GraphElement from "./GraphElement"
|
||||
import PinTemplate from "../template/PinTemplate"
|
||||
|
||||
export default class GraphPin extends GraphElement {
|
||||
|
||||
constructor() {
|
||||
super({}, new PinTemplate())
|
||||
}
|
||||
|
||||
/*connectedCallback() {
|
||||
super.connectedCallback()
|
||||
}*/
|
||||
}
|
||||
|
||||
customElements.define("u-pin", GraphPin)
|
||||
Reference in New Issue
Block a user