Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
- Rather than tie down to content (LB, WYSIWYG, Fields, etc), we should allot a way to interface from PHP to gsap via admin. This would allow a migratable and easy to use setup for global/micro animation
Proposed resolution
Add a UI for adding:
- Name
- Status
- Type
- Selector
- to/from
- JSON
This would translate to:
gsap.[to/from}(selector, json);
Comment | File | Size | Author |
---|
Issue fork gsap-3421216
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
b_sharpe CreditAttribution: b_sharpe at ImageX commentedComment #3
b_sharpe CreditAttribution: b_sharpe at ImageX commentedComment #5
b_sharpe CreditAttribution: b_sharpe at ImageX commentedAdded the ability to define to/from with click/hover/scrolltrigger. Anything above and beyond this likely would be custom code anyhow.
Comment #6
AaronChristian CreditAttribution: AaronChristian at ImageX commentedLove the new pin/scrub feature. Nice work @b_sharpe
Comment #8
b_sharpe CreditAttribution: b_sharpe at ImageX commented