1.0.23 • Published 2 years ago

oxigen-core v1.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Oxigen

Oxigen is a JavaScript library for creating user interfaces. With oxigen you can create your own custom html elemnt

Usage

import Component, { sass, html } from "oxigen-core";

const App = Component({
    taged: "oxi-app",
    props: {
		title: {
			type: "string",
			value: "OXIGEN"
		}
	},
    styles() {
        return sass\`
            *, :host {
                box-sizing: border-box;
                font-family: Arial, sans-serif;
            }
            :host {
                display: flex;
                width: 100%;
                justify-content: center;
            }
            h1 {
				font-size: 2rem;
			}
        \`;
    },
    render() {
        return html\`
            <h1>${this.title}</h1>
        \`;
    },
});

App.define();
1.0.23

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.10

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago