▸   Home

Components example - Train Schedule


1000words.js components aren't materially different from HTML components like we'd see in Angular or React apps. Apps are composed with components, both HTML and 1000words.js, but the individual components don't directly control the overall application behavior or user experience. That responsibility belongs to the App.

They conform to the standard "Data in, Events out" component pattern which allows the App to be the single source of truth.

Zomm into today's train schedule 11 AM/Springfield is running empty Zoom into Indicator Board

Indicator Board InFocus event App display properties panel (HTML) User Clicks 'x' change data (remove existing special)

User adds new promotion (HTML) change data (add new special)