Name: panel-farm
Owner: Mixpanel, Inc
Description: Manage cute animals with Web Components and Virtual DOM very wow
Created: 2016-05-20 05:58:50.0
Updated: 2018-05-16 23:42:16.0
Pushed: 2018-05-19 00:44:37.0
Size: 2015
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a little demo app for playing around with Web Components and the Panel library in a live environment with browser dev tools.
Visit the live demo at https://mixpanel.github.io/panel-farm/. You can get a reference to the running application with:
= document.querySelector(`panel-farm`);
Look at app.state
to get an idea of what's controllable dynamically. For instance, to change the header text of the welcome screen, try:
update({welcomeText: `Hello there!`});
The Farm screen starts out with one cute capybara and some buttons to add different animals to keep it company. Can you add another capybara?
git clone git@github.com:mixpanel/panel-farm.git && cd panel-farm
npm install
npm start
src/
dir will update live in browser