Skip to content

pantoken-root / formats/interactions/src / RemoveOptions

อินเทอร์เฟซ: RemoveOptions ​

ตัวเลือกสำหรับการลบโดยอาศัยเวลา (timeout).

คุณสมบัติ ​

timeout? ​

optional timeout?: number

จำนวนมิลลิวินาทีก่อนการปิด ค่าเริ่มต้นคือ --timeout ที่คำนวณจากเป้าหมาย.


transition? ​

optional transition?: "fade" | "none"

พฤติกรรมเมื่อออก ค่าเริ่มต้นคือ "fade" ซึ่งสอดคล้องกับ InstUI Alert.