From 396b47a6f750e8419dba10b60c57c1a8996cfacd Mon Sep 17 00:00:00 2001 From: Miguel Date: Mon, 9 Sep 2024 09:30:15 -0400 Subject: [PATCH] wepa again i'm doin itnpm i profile-components i added this npm package for profile views --- frontend/ts/profile-element.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/ts/profile-element.ts b/frontend/ts/profile-element.ts index c0cf31e..a89bc67 100644 --- a/frontend/ts/profile-element.ts +++ b/frontend/ts/profile-element.ts @@ -1,8 +1,14 @@ -export class ProfileElement extends HTMLElement { +export class ProfileView extends HTMLElement { constructor() { super(); } - let html = "" + const prof_view = document.createElement("span"); + + prof_view.setAttribute("class", "wrapper") + + connectedCallback() { + this. + } }