Two Ways to Add Interactions Based on a User's Scroll in Play

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • In this video, you'll learn how to use Play's Expression Editor to check how far a user has scrolled through a page or stack. In the example we'll use, we will add a condition to set a component's state as a user scrolls.
    We'll do this in two ways. First, we'll use a trigger property to track the scroll offset in points; then we'll use an object property to track the percent scroll progress.
    Learn more on our support site: learn.createwi...
    Install Play for macOS and iOS: createwithplay...
    Get more info on Play, a collaborative design software that combines a familiar canvas with iOS gestures, UI elements, and SwiftUI: www.createwith...
    #Expressions #DesignTool #CreatewithPlay

ความคิดเห็น •

  • @delan0y
    @delan0y หลายเดือนก่อน

    What are you using to run the prototype?
    Simulator? iPhone? Something else?

    • @CreatewithPlay
      @CreatewithPlay  หลายเดือนก่อน

      We use an iPhone! We're showing it on the screen using a program called Bezel.