Scott Miles
e340cf7b7a
move more literals to the 'conventions' map, improve comments
2012-11-05 11:40:17 -08:00
Scott J. Miles
60fab55931
Merge pull request #31 from frankiefu/master
...
minor updates/fixes to g-component, selector and menu
2012-11-05 11:32:23 -08:00
frankiefu
0500a46814
show selected attribute in the examples
2012-11-05 10:59:45 -08:00
frankiefu
c4fa8c9552
remove unnecessary code since getDistributedNodes is working in native
...
shadow dom; provide a method to get selected item.
2012-11-05 10:55:55 -08:00
frankiefu
363bae4fb0
a way to set label via attribute
2012-11-05 10:53:39 -08:00
frankiefu
cfbf2539be
inNodes could be a NodeList so fix it to make indexOf to work
2012-11-05 10:53:16 -08:00
Frankie Fu
63cbe38b84
Merge pull request #29 from sorvell/master
...
g-panels minor bug fixes
2012-10-29 16:54:23 -07:00
Steve Orvell
27ff24a9c9
g-panels: fix bug with initial transition; temp workaround for polyfill issue #62 .
2012-10-29 16:53:11 -07:00
Frankie Fu
2eff28db5b
Merge pull request #28 from sorvell/master
...
add g-panels
2012-10-29 16:01:28 -07:00
Frankie Fu
48a0c1f6fb
Merge pull request #27 from sorvell/30f3504cd6539762bf4958892ac592228060229b
...
g-overlay: refactor/simplify
2012-10-29 15:56:32 -07:00
Frankie Fu
b4fc5f9b1c
Merge pull request #26 from sorvell/1b054f9b3be900d2e982768c9caf57373abc0c5e
...
g-component: fix typo
2012-10-29 15:54:39 -07:00
Steve Orvell
25a3a2aada
g-panels
...
- displays a set of panels and supports transitioning between panels.
- uses a transition component to manage transitioning
- keyframe transition uses css animations to transition between panels
- flow transition shows a set of panels arranged left-to-right
- g-panels.css contains the beginnings of a library of transition animations
2012-10-29 15:51:23 -07:00
Steve Orvell
30f3504cd6
g-overlay:
...
- rename 'showing' property to 'opened'
- simplify event listeners
- style animations based on 'opened' and 'animating' attributes
- add beginnings of library of open/close animations
2012-10-29 15:10:00 -07:00
Steve Orvell
1b054f9b3b
g-component: fix typo which affected settings an attribute to a default value in prototype.
2012-10-29 15:07:41 -07:00
Scott J. Miles
d34e93bfde
Merge pull request #25 from frankiefu/master
...
update components based on changes in g-component
2012-10-29 10:49:57 -07:00
frankiefu
85c6cbe69a
update components based on changes in g-component
2012-10-29 10:41:33 -07:00
Scott Miles
bc7882ffa9
clean up deprecated code
2012-10-26 16:19:44 -07:00
Steve Orvell
6696b851d2
Merge pull request #23 from sjmiles/master
...
MDV sugaring
2012-10-26 15:35:30 -07:00
frankiefu
6673c11b9e
menu component and workbench file
2012-10-26 14:58:28 -07:00
frankiefu
f6e8800bac
basic component unit tests
2012-10-26 14:58:28 -07:00
Scott Miles
3a36f630c1
add 'macroize' to utils
2012-10-26 14:57:44 -07:00
Scott Miles
0c2dd16dc0
minor fixups and non-semantic changes
2012-10-26 14:57:28 -07:00
Scott Miles
e7dcbd8ffb
add asyncMethod component API, use it to make fireEvent function asynchronously (to avoid stack explosions when cascading events)
2012-10-26 14:55:51 -07:00
Scott Miles
f3ef76f127
MDV delegation sugar
2012-10-26 14:54:10 -07:00
Scott Miles
150490b91d
add methods to bind {{ }} macros manually
2012-10-26 14:53:04 -07:00
Scott Miles
e6178953fd
additional comments
2012-10-26 14:51:53 -07:00
Scott Miles
70190e98ef
change CUSTOM_EVENT_PREFIX from "at" to "on-"
2012-10-26 14:50:50 -07:00
Scott J. Miles
2958f612ea
Merge pull request #22 from frankiefu/master
...
menu component and basic component unit tests
2012-10-24 12:46:52 -07:00
frankiefu
6c423bc98c
menu component and workbench file
2012-10-24 12:37:46 -07:00
frankiefu
40f45ed961
basic component unit tests
2012-10-24 12:36:53 -07:00
Scott Miles
a8310922e5
add fireEvent method to component API
2012-10-23 17:17:28 -07:00
Frankie Fu
f05b74f6d9
Merge pull request #21 from sjmiles/master
...
"DOMTokenList.enable" was renamed to "toggle" at platform, update polyfill
2012-10-23 15:13:52 -07:00
Scott Miles
952630e6bc
Merge branch 'master' of https://github.com/toolkitchen/toolkit
2012-10-23 15:09:50 -07:00
Frankie Fu
c073e71e35
Merge pull request #20 from sjmiles/e334f1293f394165dd1e53e7527bc624f99ec4f7
...
use MutationObserver to maintain custom event bindings, bug fixes
2012-10-23 15:03:50 -07:00
Scott Miles
d1af5a61dd
DOMTokenList.enable was renamed to toggle at platform
2012-10-23 14:58:52 -07:00
Scott Miles
6f1eb45cbd
Merge branch 'master' of https://github.com/toolkitchen/toolkit
2012-10-23 14:53:22 -07:00
Scott Miles
e334f1293f
null checks for 'root'
2012-10-23 14:53:15 -07:00
Scott J. Miles
1b5484788e
Merge pull request #19 from frankiefu/master
...
tabs component, simplify togglebutton and more unit tests
2012-10-23 14:50:58 -07:00
frankiefu
55db5b24e6
more unit tests
2012-10-23 10:42:05 -07:00
frankiefu
8947d48888
simplify togglebutton using all the latest sugar
2012-10-23 10:41:51 -07:00
frankiefu
9f72878c71
tabs component and workbench file
2012-10-23 10:40:49 -07:00
frankiefu
2c1e340a87
fix title
2012-10-23 10:38:23 -07:00
frankiefu
0846904a72
also need to trimify attr passing to bindProperty
2012-10-23 10:37:46 -07:00
Scott Miles
ec5d1dfd85
register a MutationObserver for subtrees that use bound events so newly formed DOM can be bound (e.g. MDV template stampings)
2012-10-22 18:44:18 -07:00
Scott Miles
6743c1744b
trap null prototype in call to HTMLElementElement.component
2012-10-22 18:43:13 -07:00
Scott Miles
15449e3f4d
make sure findDistributeTarget is in local scope
2012-10-22 18:42:46 -07:00
Steve Orvell
bdd339bffb
Merge pull request #17 from frankiefu/master
...
unit test harness
2012-10-22 14:55:34 -07:00
frankiefu
e3f0aa9fe2
- test harness and couple unit tests
2012-10-22 14:38:16 -07:00
Frankie Fu
a0cd7553e2
Merge pull request #16 from sjmiles/master
...
use shadow="shim" instead of shimShadow for compatibility with URL override
2012-10-22 12:26:32 -07:00
Scott Miles
6843ea2d5e
use shadow="shim" directive instead of "shimShadow" so it's easier to override via url (?shadow=webkit)
2012-10-22 12:19:51 -07:00