Giter Club home page Giter Club logo

Comments (5)

brandonmcconnell avatar brandonmcconnell commented on May 26, 2024

@pisteuralpin Could you create a reproducible example of this online (maybe codepen.io) where I can troubleshoot the issue?

from typed.css.

HansKing98 avatar HansKing98 commented on May 26, 2024

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.

brandonmcconnell avatar brandonmcconnell commented on May 26, 2024

@HansKing98

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.

pisteuralpin avatar pisteuralpin commented on May 26, 2024

Hey @HansKing98, thank you it seems to work.
@brandonmcconnell if you have some questions to investigate this bug don't hesitate

from typed.css.

brandonmcconnell avatar brandonmcconnell commented on May 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.