Web Tags
A sign-up card written as it would be for the browser: HTML tags, DOM events and type selectors. Each tag renders as the Lynx element it stands for.
What it shows
- HTML tags — the
<main>and<div>render as views, the<h1>,<p>,<label>and<button>as texts, and the<img>as an image. See HTML tags. - Type selectors —
h1 { … }andbutton { … }in the component's styles match those tags, as on the web. See CSS on Lynx. - DOM events —
(input)reads$event.target.value,(keyup.enter)runs on the keyboard's return key, and(click)on a tap. See DOM event names. [hidden]— the welcome line stays hidden until you join.- Loose text and inheritance — the text straight inside each
<li>is drawn in a<text>that takes the list's color and size, and the terms line runs its link on with its text.
Related
- Coming from web Angular
- Form Input: the same kind of form, in Lynx elements
