Compare commits

..

No commits in common. "master" and "v1.0.88" have entirely different histories.

3 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@design.estate/dees-wcctools",
"version": "1.0.90",
"version": "1.0.88",
"private": false,
"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",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-wcctools',
version: '1.0.90',
version: '1.0.88',
description: 'A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.'
}

View File

@ -76,6 +76,7 @@ export class WccDashboard extends DeesElement {
this.selectedType = eventArg.detail;
}}
@selectedItemName=${(eventArg) => {
document.title = eventArg.detail;
this.selectedItemName = eventArg.detail;
}}
@selectedItem=${(eventArg) => {
@ -133,16 +134,12 @@ export class WccDashboard extends DeesElement {
);
}
public async updated(changedPropertiesArg: Map<string, any>) {
public async updated() {
this.domtools = await plugins.deesDomtools.DomTools.setupDomTools();
await this.domtools.router._handleRouteState();
const storeElement = this.selectedItem;
const wccFrame: WccFrame = this.shadowRoot.querySelector('wcc-frame');
if (changedPropertiesArg.has('selectedItemName')) {
document.title = this.selectedItemName;
};
if (this.selectedType === 'page' && this.selectedItem) {
if (typeof this.selectedItem === 'function') {
console.log('slotting page.');