Skip to content

Conversation

@WillsonHaw
Copy link
Contributor

Allows specifying a timing function instead of selecting from predefined easings or a cubic-bezier ease.

I've reused the easing property to set the timing function, so you can specify a function or a string as before.

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2025

CLA assistant check
All committers have signed the CLA.

@jfboeve
Copy link
Collaborator

jfboeve commented Sep 19, 2025

Looks good, while you're at it could you make the timingFunction always return a number instead of number | undefined

Copy link
Contributor

@wouterlucas wouterlucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - thanks!

@WillsonHaw
Copy link
Contributor Author

@jfboeve Applied your suggestion.

@jfboeve jfboeve added this pull request to the merge queue Sep 22, 2025
@jfboeve
Copy link
Collaborator

jfboeve commented Sep 22, 2025

Awesome @WillsonHaw, thank you for the contribution

Merged via the queue into lightning-js:main with commit 30e2f51 Sep 22, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

4 participants