mirror of
https://github.com/jaandrle/deka-dom-el
synced 2024-11-21 23:39:37 +01:00
🧱 move components, exports, and index files to examples directory
This commit is contained in:
parent
3823abc2d7
commit
7417565fa5
@ -1,4 +1,4 @@
|
||||
import { style, el, on, S } from '../exports.js';
|
||||
import { style, el, on, S, namespace } from '../exports.js';
|
||||
const className= style.host(fullNameComponent).css`
|
||||
:host form{
|
||||
display: flex;
|
||||
@ -23,6 +23,12 @@ export function fullNameComponent(){
|
||||
el("strong", "Full name"),
|
||||
": ",
|
||||
el("#text", full_name)
|
||||
),
|
||||
namespace("svg").append(
|
||||
el("svg", { viewBox: "0 0 240 80", style: { height: "80px", display: "block" } }).append(
|
||||
//el("style", { })
|
||||
el("text", { x: 20, y: 35, textContent: "Text" })
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user