-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a10db3
commit 2dd66f5
Showing
6 changed files
with
24 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Widget } from './widget'; | ||
|
||
export class ActionsToolbar extends Widget { | ||
public static eid = 'phred-actions-toolbar'; | ||
public static readonly tagId = 'phred-actions-toolbar'; | ||
} | ||
|
||
customElements.define(ActionsToolbar.eid, ActionsToolbar); | ||
customElements.define(ActionsToolbar.tagId, ActionsToolbar); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Widget } from './widget'; | ||
|
||
export class PropertiesPanel extends Widget { | ||
public static readonly tagId = 'phed-properties-panel'; | ||
} | ||
|
||
customElements.define(PropertiesPanel.tagId, PropertiesPanel); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import { PropertiesPanel } from './properties.panel'; | ||
import { Widget } from './widget'; | ||
|
||
export class PropertiesToolbar extends Widget { | ||
public static eid = 'phred-properties-toolbar'; | ||
public static readonly tagId = 'phred-properties-toolbar'; | ||
|
||
public connectedCallback() { | ||
super.connectedCallback(); | ||
const panel = document.createElement(PropertiesPanel.tagId); | ||
this.appendChild(panel); | ||
} | ||
} | ||
|
||
customElements.define(PropertiesToolbar.eid, PropertiesToolbar); | ||
customElements.define(PropertiesToolbar.tagId, PropertiesToolbar); |
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