For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /examples/hello-world.md.

Hello World

The smallest AngularLynx app: one signal, one tap handler and three Lynx elements. Start here to see what a template looks like.

What it shows

  • Lynx elements — the template uses <view>, <text> and <scroll-view> instead of HTML, and its text is inside <text>, which draws it. See Elements and layout.
  • LYNX_ELEMENTS — the component imports it so the template type-checks. See Elements.
  • (bindtap) — the tap event, the Lynx counterpart of (click). See Handling taps and events.
  • signal() — the handler updates count, and the screen follows. See Signals and change detection.