Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
595620af4b | |||
8c3a116943 | |||
269b90c64c | |||
6d74bdfb51 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@design.estate/dees-wcctools",
|
"name": "@design.estate/dees-wcctools",
|
||||||
"version": "1.0.88",
|
"version": "1.0.90",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.",
|
"description": "A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.",
|
||||||
"main": "dist_ts_web/index.js",
|
"main": "dist_ts_web/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-wcctools',
|
name: '@design.estate/dees-wcctools',
|
||||||
version: '1.0.88',
|
version: '1.0.90',
|
||||||
description: 'A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.'
|
description: 'A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.'
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,6 @@ export class WccDashboard extends DeesElement {
|
|||||||
this.selectedType = eventArg.detail;
|
this.selectedType = eventArg.detail;
|
||||||
}}
|
}}
|
||||||
@selectedItemName=${(eventArg) => {
|
@selectedItemName=${(eventArg) => {
|
||||||
document.title = eventArg.detail;
|
|
||||||
this.selectedItemName = eventArg.detail;
|
this.selectedItemName = eventArg.detail;
|
||||||
}}
|
}}
|
||||||
@selectedItem=${(eventArg) => {
|
@selectedItem=${(eventArg) => {
|
||||||
@ -134,12 +133,16 @@ export class WccDashboard extends DeesElement {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async updated() {
|
public async updated(changedPropertiesArg: Map<string, any>) {
|
||||||
this.domtools = await plugins.deesDomtools.DomTools.setupDomTools();
|
this.domtools = await plugins.deesDomtools.DomTools.setupDomTools();
|
||||||
await this.domtools.router._handleRouteState();
|
await this.domtools.router._handleRouteState();
|
||||||
const storeElement = this.selectedItem;
|
const storeElement = this.selectedItem;
|
||||||
const wccFrame: WccFrame = this.shadowRoot.querySelector('wcc-frame');
|
const wccFrame: WccFrame = this.shadowRoot.querySelector('wcc-frame');
|
||||||
|
|
||||||
|
if (changedPropertiesArg.has('selectedItemName')) {
|
||||||
|
document.title = this.selectedItemName;
|
||||||
|
};
|
||||||
|
|
||||||
if (this.selectedType === 'page' && this.selectedItem) {
|
if (this.selectedType === 'page' && this.selectedItem) {
|
||||||
if (typeof this.selectedItem === 'function') {
|
if (typeof this.selectedItem === 'function') {
|
||||||
console.log('slotting page.');
|
console.log('slotting page.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user