Commit 29c58130 authored by Clément's avatar Clément

update: export all classes

parent 86777f41
class SIBRoute extends HTMLElement {
export class SIBRoute extends HTMLElement {
constructor() {
super();
}
......@@ -68,7 +68,7 @@ customElements.define('sib-route', SIBRoute);
class SIBRouter extends HTMLElement {
export class SIBRouter extends HTMLElement {
constructor() {
super();
window.addEventListener('popstate', event => this.display());
......@@ -132,7 +132,7 @@ route.getPath(this.prefix, routeName, id);
customElements.define('sib-router', SIBRouter);
class SIBLink extends HTMLElement {
export class SIBLink extends HTMLElement {
constructor() {
super();
this.addEventListener('click', event => this.trigger());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment