内容简介:A multithreading Dashboard showing countries affected by COVID-19.Switch the Main tabs (Table, Gallery & Helix). When selecting a country inside the top-left SelectField, this will update the route, triggering a selection update on the active view. Selecti
neo.mjs covid-dashboard
A multithreading Dashboard showing countries affected by COVID-19.
Switch the Main tabs (Table, Gallery & Helix). When selecting a country inside the top-left SelectField, this will update the route, triggering a selection update on the active view. Selecting an item inside the active view will adjust the route as well, updating the SelectField as well. Switching tabs will adjust the current selection.
The App supports the dark & light themes.
You can configure and sort the gallery & helix with the controls on the right side, resulting in a firework of CSS3 transitions.
This is a perfect performance demo for the webworkers driven UI framework neo.mjs .
Content
Online Versions
You can find the Online Versions here on GitHub Pages (COVID-19 Dashboard App).
Preview Images
Getting Started
-
Clone this repo to your system to get the project files
git clone https://github.com/neomjs/covid-dashboard.git
-
Open the checked out top level folder inside your terminal
cd covid-dashboard
-
Install the required node modules & run all relevant build scripts at once
npm run build-all
-
Make sure to use a local WebServer!
npm run server-start
Docs App
Since this app shell was created using:
npx neo-app
We do get documentation views for our app source code out of the box:
Multithreading
In case you want to take a closer look at the workers setup, take a look into the Chrome dev tools Sources:
Your app code will get loaded into the App thread.
Attribution
- This App is created using the neo.mjs UI framework.
- Data provided by NovelCOVID/API .
- Icons made by Freepik from www.flaticon.com .
Join our Slack Channel for questions & feedback:
Build with
Copyright (c) 2020 - today, Tobias Uhlig
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。