fix(core): update

This commit is contained in:
Philipp Kunz 2020-06-01 13:22:54 +00:00
parent ec1660cab5
commit 6a6d782288
3 changed files with 2 additions and 12 deletions

View File

@ -5,9 +5,6 @@ import { TemplateResult } from 'lit-html';
export class WccDefaultElement extends LitElement { export class WccDefaultElement extends LitElement {
public static demo = () => html`<wcc-defaultelement></wcc-defaultelement>`; public static demo = () => html`<wcc-defaultelement></wcc-defaultelement>`;
@property()
public footerText = `Lossless GmbH - 2018`;
constructor() { constructor() {
super(); super();

View File

@ -47,6 +47,7 @@ export class WccFrame extends LitElement {
} }
})()} })()}
} }
.viewport { .viewport {
position: relative; position: relative;
${this.viewport !== 'desktop' ${this.viewport !== 'desktop'

View File

@ -126,15 +126,7 @@ export class WccProperties extends LitElement {
returnArray.push( returnArray.push(
html` html`
<div class="property"> <div class="property">
${key} / ${classProperties.get(key).type.name} / ${key} / ${classProperties.get(key).type.name}
<pre>
${(() => {
const result = this.selectedInstance
? JSON.stringify(this.selectedInstance[key], null, 2)
: null;
return result;
})()}</pre
>
</div> </div>
` `
); );