Comments (5)
@pisteuralpin Could you create a reproducible example of this online (maybe codepen.io) where I can troubleshoot the issue?
from typed.css.
You need to use a different 'name' ,
like this,
.my-typed {
padding: 0 0 0 3px;
background-color:blue;
&::before { font-weight: 400; }
@include typed(
"Happy",
"Angry"
( type: .07,pause-typed: 2,delete: .08,pause-deleted: 1),
(
name: "my-typewriter-9999",
caret: true,caret-speed: .75,caret-width: 2px,caret-color: currentColor,caret-space: .1ch,
delay: 1,iterations: infinite,
)
);
}
.my-typed2 {
padding: 0 0 0 3px;
background-color:blue;
&::before { font-weight: 400; }
@include typed(
"Happy2",
"Angry2"
( type: .07,pause-typed: 2,delete: .08,pause-deleted: 1),
(
name: "my-typewriter-9999-2",
caret: true,caret-speed: .75,caret-width: 2px,caret-color: currentColor,caret-space: .1ch,
delay: 1,iterations: infinite,
)
);
}
from typed.css.
You need to use a different 'name'
Theoretically, you should be able to use this package as much as you want without ever using a name, since it should automatically iterate the index with each instance. The only caveat to this, is it likely resets between different files, so if you're using this on two different SCSS sheets, they both get pulled onto the same page, you may have conflicting names.
@pisteuralpin could you please try the suggested solution from @HansKing98 above, and let me know if it works. If it does, this might be a bug in the package I need to resolve. Let me know what you find, and maybe we can investigate this together.
from typed.css.
Hey @HansKing98, thank you it seems to work.
@brandonmcconnell if you have some questions to investigate this bug don't hesitate
from typed.css.
@pisteuralpin glad it worked!
Could you drop me an email address or some other mode of contact I can reach you at, so we can set up a call to diagnose and resolve the root issue?
from typed.css.
Related Issues (14)
- Not able to use Examples from repo example HOT 3
- Code breaks on a high type-pausing HOT 5
- use var(--text) for text HOT 2
- Error: File to import not found or unreadable: typed. (Rails 7) HOT 3
- Copy-Paste the file cause errors
- Deprecation Warnings "using / outside of calc" from Dart Sass HOT 9
- Feature request: end on caret disappear HOT 3
- Syntax error in implementation of __div() function HOT 6
- [Deprecation Warning] Future change to interpolation operator in SASS HOT 3
- Error typed.scss HOT 12
- Feature request: adjustable animation delay HOT 1
- Character-timed delay syntax is displayed if included in end-on string HOT 5
- Possible to hide the carat after animation complete? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typed.css.