Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onAnimationStart should be defined in Element class? #14065

Closed
DartBot opened this issue Oct 13, 2013 · 8 comments
Closed

onAnimationStart should be defined in Element class? #14065

DartBot opened this issue Oct 13, 2013 · 8 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-obsolete Closed as the reported issue is no longer relevant library-html

Comments

@DartBot
Copy link

DartBot commented Oct 13, 2013

This issue was originally filed by nt...@gmail.com


Window class has three animaiton property,
final Stream<AnimationEvent> onAnimationEnd
final Stream<AnimationEvent> onAnimationIteration
final Stream<AnimationEvent> onAnimationStart
http://api.dartlang.org/docs/releases/latest/dart_html/Window.html#onAnimationStart

But Element class doesn't have them.
http://api.dartlang.org/docs/releases/latest/dart_html/Element.html

According to MDN and polymer-overlay.html (https://github.com/Polymer/polymer-elements/blob/master/polymer-overlay/polymer-overlay.html#L203), should they be defined in Element class?
https://developer.mozilla.org/en-US/docs/Web/Reference/Events/animationstart
https://developer.mozilla.org/ja/docs/Web/Reference/Events/animationend
https://developer.mozilla.org/en-US/docs/Web/Reference/Events/animationiteration

@sethladd
Copy link
Contributor

Added Area-HTML, Triaged labels.

@jmesserly
Copy link

Added this to the M8 milestone.

@sethladd
Copy link
Contributor

Workaround from Pete:

You can also use either:
element.on['webkitAnimationStart']
or:
Window.animationStartEvent.forTarget(element).listen(...)

@blois
Copy link
Contributor

blois commented Oct 15, 2013

Removed this from the M8 milestone.
Added this to the Later milestone.
Removed Priority-Unassigned label.
Added Priority-Medium label.

@kevmoo
Copy link
Member

kevmoo commented Apr 7, 2014

Removed Area-HTML label.
Added Area-Library, Library-Html labels.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@alan-knight
Copy link
Contributor

These exist now.


Added AssumedStale label.

@DartBot DartBot added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-html closed-obsolete Closed as the reported issue is no longer relevant labels Jan 13, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-obsolete Closed as the reported issue is no longer relevant library-html
Projects
None yet
Development

No branches or pull requests

7 participants