Member detail page complete
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user