Skip to content

killTweensOf by (stringId || tween) #356

@jonlepage

Description

@jonlepage

Hey guys did you think it possible include a destroy with string id?
gsap.killTweensOf('id');
or maybe make this possible ?
gsap.killTweensOf( gsap.getById('id') );

I know we can do this
gsap.getById('id').kill();
but in special context , if id already destroy, it will crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions