[−][src]Crate elvis
RoadMap
Plan | Date |
---|---|
Virtual-DOM | 2020.1.28 - 2020.2.1 |
Basic-Component | 2020.2.5 - 2020.2.7 |
Router | 2020.2.7 - 2020.2.10 |
Native Components | 2020.2.10 - 2020.2.11 |
Benchmark | 2020.2.11 - 2020.2.15 |
Beta Versin | 2020.2.15 - 2020.2.17 |
Calling Elvis
Is anybody home?
As we know, Elvis
is a famous rock star, and both a famous rock song named Calling Elvis
wrote by Dire Straits
which inspired a unknown rock star to write down these chords(code || words).
For now, Elvis, the rock star, will rise, once again, beyond the internet —— truely your wasm web library.
The Evlis Book mainly talks about the usage of the npm package calling-elvis
, and if you want to use "low-level"
api rusting the web, plz check out elvis' rust doc.
Goals
Writing web pages in pure javascript using wasm bindings, without jsx
or any other
complex syntax, just javascript, of course, not writing html
nor css
either.
Roll up for the Magical Mystery Tour!
Here we go! Roll up, roll up for the mystery tour, the magical mystery tour is waiting to take you away! Hoping to take you away! Coming to take you away! Dying to take you away, take you today!
Let me take you down, cause I'm going to,
/* javascript
const Home = Text("Pink is the Pig!", {
bold: true,
italic: true,
size: 10,
color: Colors.PinkAccent(),
});
new Elvis({
home: Home,
}).calling();
Strawberry Fields.
LICENSE
Heartbreak Hotel.
Structs
Align |
|
AlignStyle |
|
Center |
|
Col |
|
Container | To be honest, |
ContainerStyle |
|
Flex | This is the Lunatic Widget to Ground Control, 'I`m stepping throw the Window.' |
FlexStyle |
|
Grid |
|
GridStyle |
|
Image | If you don't want Image playing in background anonymously, just remove its child. |
ImageSrc | Image src |
List |
|
MultiColumn | Homework: code a New York Times. |
MultiColumnStyle |
|
Row | Both |
SizedBox |
|
SizedBoxStyle |
|
Text |
|
TextStyle | style of |
Tree | Virtual UI Tree |
Enums
Alignments |
|
Colors |
|
Error | Error sets |
FlexBasis |
|
FlexDirection |
|
GridAuto | config columns and rows in |
GridFlow | manage |
GridTemplate | template rule in |
MultiColumnLineStyle | line-style in |
Unit | Follows CSS Values 3 drafted in csswg.org. |
Traits
Serde | data format transfer |