[][src]Crate elvis

RoadMap

PlanDate
Virtual-DOM2020.1.28 - 2020.2.1
Basic-Component2020.2.5 - 2020.2.7
Router2020.2.7 - 2020.2.10
Native Components2020.2.10 - 2020.2.11
Benchmark2020.2.11 - 2020.2.15
Beta Versin2020.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.

Modules

prelude

A module which is typically glob imported from:

widgets

Evlis common widgets

Structs

Image

If you don't want Image playing in background anonymously, just remove its child.

ImageSrc

Image source

Text

Text might be the most popular spider from Mars, Does it know the Great Ziggy Stardust?

TextStyle

style of Text

Enums

Error

Error sets

Traits

LifeCycle

Life cycle trait