-
Notifications
You must be signed in to change notification settings - Fork 104
event 'slideEnd' should be triggered in another place #47
Comments
Hi @senntyou , thanks for your feedback. The current design is that a slide includes the next transition in his timelapse. in other words, slideEnd is triggered when the previous slide has totally disappeared.
isn't it already what is done today, after the image completed the transition? |
if there are 2 slides: A then B, "jump" after "slideEnd" of A only works if the destination jump is exactly the same slide as the beginning of B. Maybe you should change the diaporama.data rather than changing the time (jumping) ? |
(btw i've notice that diaporama does not look very practical if you want to render an infinite stream of images for instance, so I've created #46 to cover this) |
thank you for replying to me. i agree that @gre
i misunderstand the event 'slideEnd', but i still insist that there's need to provide an event after the previous slide going to be end, before the next transition start, leaving time to do some other things. |
The precise event you are looking for seems to be Otherwise I don't see how I should introduce a new event: Basically, the events directly come from the atomic unit of the timeline which is internally called "Segment", and are triggered at the beggining and at the end of each segment (internally called Here is a little schema: So to summarize a "slide" is not aware of transition that occurs around him (in another channel). |
thank you for so detailed explanation, i'v got what you say. |
Additionally, i found a bug of diaporama. When diaporama is about to circulate, "slide" and "slideEnd" will be triggered twice.
is it normally like so, or a bug? |
looks like a bug for me, I'll investigate thanks |
Current Problem: the event "slideEnd" and the event "transitionEnd" are triggered almost the same time, so there's no need to do the same thing two times. The event "slideEnd" can be placed in another place, to do more.
I think, the event "slideEnd" should be trigger just after an image completing transition and kenburns(important, after the two effects completed).
Reason: the new "slideEnd" could cover the functionalities of the old one, in addition, it can do more. When an image is already completed, diaporama can jump to a random image, by listen to the event "slideEnd".
Is it practical?
The text was updated successfully, but these errors were encountered: