fix(core): update

This commit is contained in:
2021-03-27 16:52:06 +00:00
parent 8390ba67b3
commit fae10a3240
9 changed files with 1549 additions and 794 deletions

23
test/test.browser.ts Normal file
View File

@ -0,0 +1,23 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as deesElement from '../ts/index';
tap.test('should create a static element', async () => {
@deesElement.customElement('my-button')
class MyButton extends deesElement.DeesElement {
// STATIC
public static styles = [
deesElement.css`
.buttonClass {
background: ${deesElement.cssManager.dbTheme('blue', 'black')};
}
`
];
// INSTANCE
render() {
return deesElement.html`<div class="buttonClass">My Button</div>`
}
}
});
tap.start();

View File

@ -1,6 +0,0 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as deesElement from '../ts/index';
tap.test('first test', async () => {});
tap.start();