Skip to content

Instantly share code, notes, and snippets.

@dstoc
Created July 31, 2017 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstoc/fa544905a37e7dbc15dea2937daa4022 to your computer and use it in GitHub Desktop.
Save dstoc/fa544905a37e7dbc15dea2937daa4022 to your computer and use it in GitHub Desktop.
Affordance vs Formfactor
particle
must consume root
formfactor big
provide action
formfactor small
must consume root
consume slot2
formfactor small
particle
must consume slot2
consume slot3
particle ShowProducts in './showProduct.js'
ShowProducts(...)
affordance DOM
affordance VR
consume bigSlot
formfactor big
provide action
view list
formfactor big
provide ...
consume smallSlot
formfactor small
Chooser
particle ShowProducts
in list
affordance DOM
formfactor Big
exposes action (Big)
formfactor Small
exposes action (small)
formfactor Tiny
render root
view list
formfactor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment