Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Simple text Animation

$
0
0

Hello, I’m new to the community so I apologize in advance if this question is not categorized properly or otherwise violates the community guildlines, not my intention.

I want to display text in a simple animation letter by letter similar to:
This.

Think video game captions. The text displays letter by letter as a character speaks.

I’m aware of ember-animated, however I noticed the docs are not written using glimmer components which I’m using in my application. More so I think it’s overkill to have to install the entire addon in my app for what amounts to < 10 lines of code in html, css, and javascript.

I thought I could achieve this effect using the {{did-insert}} hook from ember-render-modifiers with a custom callback that handles the animation logic, it didn’t work so is that even the right approach?

An example of how one might achieve this would be most appreciated. Thank you for your time.

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles