Stack splitting dialog
const result = await pf1.applications.SplitStack.wait({ title: "My Stuff", initial: 50, total: 100 });if (!result) throw new Error("Fsck!");const [keep,split] = result;console.log(`I keep ${keep} and you get ${split}`); Copy
const result = await pf1.applications.SplitStack.wait({ title: "My Stuff", initial: 50, total: 100 });if (!result) throw new Error("Fsck!");const [keep,split] = result;console.log(`I keep ${keep} and you get ${split}`);
Static
Wait for user interaction to finish.
Options
Optional CSS selectors to add to the dialog.
Initial value
Value stepping.
Dialog title
Total value to split.
Additional options to pass to DialogV2
Stack splitting dialog
Example