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

hello. a question on backdelay and backspeed #2

Open
aliselvi opened this issue Nov 3, 2020 · 1 comment
Open

hello. a question on backdelay and backspeed #2

aliselvi opened this issue Nov 3, 2020 · 1 comment

Comments

@aliselvi
Copy link

aliselvi commented Nov 3, 2020

hi.

i love the wp addon you have done.

i would like to know if there is a way to stop it from deleting what's already written, so I can use the multiple lines below one another like a typed conversation is taking place, instead of typing then deleting each line.

i just don't want the "backspace" effect.

thank you.

@Brennii96
Copy link
Owner

Brennii96 commented Nov 9, 2020

Hi,

I'm not sure if this is what you mean but I believe you can use the Smart Backspace smartBackspace=true and loop=false to get what you want see the jsfiddle for an example:
https://jsfiddle.net/j36rhdgb/

So for the typedjs shortcode it would be something like

[typedjs smartBackspace="true" loop="false"]'My strings are:<br> on' + 'My strings are:<br> on <br> new <br>' +  'My strings are:<br> on <br> new <br> lines'[/typedjs]

It's based off this library so anything on there you should be able to do in the plugin: https://mattboldt.github.io/typed.js/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants