Skip to content

Instantly share code, notes, and snippets.

View HenryVonfire's full-sized avatar

HenryVonfire

View GitHub Profile
@HenryVonfire
HenryVonfire / 01_README.md
Last active October 20, 2015 08:27 — forked from rwjblue/01_README.md
New Twiddle
@HenryVonfire
HenryVonfire / 01_README.md
Created October 16, 2015 14:27 — forked from rwjblue/01_README.md
Simple Router Service
@HenryVonfire
HenryVonfire / README_01.md
Last active November 5, 2015 14:13
Twiddle with readme
@HenryVonfire
HenryVonfire / README_01.md
Last active November 5, 2015 14:13
Story
@HenryVonfire
HenryVonfire / README_01.md
Last active April 8, 2016 13:50
Using the elements of the DOM
@HenryVonfire
HenryVonfire / README_01.md
Last active November 5, 2015 14:12
Expandable list

Example of a simple expandable list. There's a problem with it, because it doesn't notify the controller when all the items have been expanded, so the name of the button won't change to react to this new situation.

View Twiddle | Copy Twiddle | View Gist

Original idea of this README taken from @rwjblue

@HenryVonfire
HenryVonfire / README_01.md
Last active November 5, 2015 14:11 — forked from spencer516/application.controller.js
Expandable list v2

Version 2 of the example of a simple expandable list. In this example the problem is solved in a isolated way. The controller doesn't need to know that the list is or isn't expanded, all is handle by the component.

View Twiddle | Copy Twiddle | View Gist

Original idea of this README taken from @rwjblue

@HenryVonfire
HenryVonfire / README_01.md
Last active November 5, 2015 14:11 — forked from varblob/application.controller.js
Expandable list v3

Version 3 of the example of a simple expandable list. In this example the problem is solved by extending the model to allow it to content information of the view. This way, whichever is using the model will know the state of the items inside (expanded or not expanded), so the controller will be able to handle it.

View Twiddle | Copy Twiddle | View Gist

Original idea of this README taken from @rwjblue

@HenryVonfire
HenryVonfire / README_01.md
Last active November 5, 2015 14:10
Target example
@HenryVonfire
HenryVonfire / README_01.md
Last active May 25, 2016 15:08
Mouse events