Member detail page complete

This commit is contained in:
Alexandre Bourlier
2018-04-26 01:35:44 +02:00
parent 44fe4b91f9
commit 5304880083
5 changed files with 76 additions and 35 deletions

View File

@ -3,6 +3,13 @@
get template() {
return `<div name="${this.name}">${this.value.city} - ${this.value.country}</div>`;
}
render() {
store.get(this.value).then( (value) => {
this._value = value;
this.innerHTML = this.template;
});
}
}
customElements.define("ldp-display-cell", LDPDisplayCell);
</script>