[{"data":1,"prerenderedAt":314},["ShallowReactive",2],{"navigation_docs":3,"-playground":188,"-playground-surround":311},[4,9,27,52,101,130,163],{"title":5,"path":6,"stem":7,"icon":8},"Playground","\u002Fplayground","1.playground","i-lucide-flask-conical",{"title":10,"path":11,"stem":12,"children":13,"page":26},"Getting Started","\u002Fgetting-started","2.getting-started",[14,18,22],{"title":15,"path":16,"stem":17},"Introduction","\u002Fgetting-started\u002Fintroduction","2.getting-started\u002F1.introduction",{"title":19,"path":20,"stem":21},"Installation","\u002Fgetting-started\u002Finstallation","2.getting-started\u002F2.installation",{"title":23,"path":24,"stem":25},"First modal","\u002Fgetting-started\u002Ffirst-modal","2.getting-started\u002F3.first-modal",false,{"title":28,"path":29,"stem":30,"children":31,"page":26},"Concepts","\u002Fconcepts","3.concepts",[32,36,40,44,48],{"title":33,"path":34,"stem":35},"Architecture","\u002Fconcepts\u002Farchitecture","3.concepts\u002F1.architecture",{"title":37,"path":38,"stem":39},"Imperative flow","\u002Fconcepts\u002Fimperative-flow","3.concepts\u002F2.imperative-flow",{"title":41,"path":42,"stem":43},"Stacking","\u002Fconcepts\u002Fstacking","3.concepts\u002F3.stacking",{"title":45,"path":46,"stem":47},"Groups","\u002Fconcepts\u002Fgroups","3.concepts\u002F4.groups",{"title":49,"path":50,"stem":51},"Headless primitives","\u002Fconcepts\u002Fheadless-primitives","3.concepts\u002F5.headless-primitives",{"title":53,"path":54,"stem":55,"children":56,"page":26},"Guide","\u002Fguide","4.guide",[57,61,65,69,73,77,81,85,89,93,97],{"title":58,"path":59,"stem":60},"Writing a modal","\u002Fguide\u002Fwriting-a-modal","4.guide\u002F01.writing-a-modal",{"title":62,"path":63,"stem":64},"Opening & closing","\u002Fguide\u002Fopening-and-closing","4.guide\u002F02.opening-and-closing",{"title":66,"path":67,"stem":68},"Props & results","\u002Fguide\u002Fpassing-props-and-results","4.guide\u002F03.passing-props-and-results",{"title":70,"path":71,"stem":72},"Behavior options","\u002Fguide\u002Fbehavior-options","4.guide\u002F04.behavior-options",{"title":74,"path":75,"stem":76},"Animations & styling","\u002Fguide\u002Fstyling-and-animations","4.guide\u002F05.styling-and-animations",{"title":78,"path":79,"stem":80},"useModal composable","\u002Fguide\u002Fusemodal-composable","4.guide\u002F06.usemodal-composable",{"title":82,"path":83,"stem":84},"Modal context","\u002Fguide\u002Fmodal-context","4.guide\u002F07.modal-context",{"title":86,"path":87,"stem":88},"Multiple targets","\u002Fguide\u002Fmultiple-targets","4.guide\u002F08.multiple-targets",{"title":90,"path":91,"stem":92},"Overlay","\u002Fguide\u002Foverlay","4.guide\u002F09.overlay",{"title":94,"path":95,"stem":96},"Async components","\u002Fguide\u002Fasync-components","4.guide\u002F10.async-components",{"title":98,"path":99,"stem":100},"TypeScript","\u002Fguide\u002Ftypescript","4.guide\u002F11.typescript",{"title":102,"path":103,"stem":104,"children":105,"page":26},"Recipes","\u002Frecipes","5.recipes",[106,110,114,118,122,126],{"title":107,"path":108,"stem":109},"Confirm dialog","\u002Frecipes\u002Fconfirm-dialog","5.recipes\u002F1.confirm-dialog",{"title":111,"path":112,"stem":113},"Form modal with validation","\u002Frecipes\u002Fform-modal-with-validation","5.recipes\u002F2.form-modal-with-validation",{"title":115,"path":116,"stem":117},"Image lightbox","\u002Frecipes\u002Fimage-lightbox","5.recipes\u002F3.image-lightbox",{"title":119,"path":120,"stem":121},"Command palette","\u002Frecipes\u002Fcommand-palette","5.recipes\u002F4.command-palette",{"title":123,"path":124,"stem":125},"Nested flows \u002F wizards","\u002Frecipes\u002Fnested-flows","5.recipes\u002F5.nested-flows",{"title":127,"path":128,"stem":129},"Global error modal","\u002Frecipes\u002Fglobal-error-modal","5.recipes\u002F6.global-error-modal",{"title":131,"path":132,"stem":133,"children":134,"page":26},"Api","\u002Fapi","6.api",[135,139,143,147,151,155,159],{"title":136,"path":137,"stem":138},"Functions","\u002Fapi\u002Ffunctions","6.api\u002F1.functions",{"title":140,"path":141,"stem":142},"Components","\u002Fapi\u002Fcomponents","6.api\u002F2.components",{"title":144,"path":145,"stem":146},"Composables","\u002Fapi\u002Fcomposables","6.api\u002F3.composables",{"title":148,"path":149,"stem":150},"Plugin","\u002Fapi\u002Fplugin","6.api\u002F4.plugin",{"title":152,"path":153,"stem":154},"State helpers","\u002Fapi\u002Fstate","6.api\u002F5.state",{"title":156,"path":157,"stem":158},"Global events","\u002Fapi\u002Fevents","6.api\u002F6.events",{"title":160,"path":161,"stem":162},"Types","\u002Fapi\u002Ftypes","6.api\u002F7.types",{"title":164,"path":165,"stem":166,"children":167,"page":26},"Resources","\u002Fresources","7.resources",[168,172,176,180,184],{"title":169,"path":170,"stem":171},"Migration from v1","\u002Fresources\u002Fmigration-from-v1","7.resources\u002F1.migration-from-v1",{"title":173,"path":174,"stem":175},"FAQ","\u002Fresources\u002Ffaq","7.resources\u002F2.faq",{"title":177,"path":178,"stem":179},"Troubleshooting","\u002Fresources\u002Ftroubleshooting","7.resources\u002F3.troubleshooting",{"title":181,"path":182,"stem":183},"Comparison","\u002Fresources\u002Fcomparison","7.resources\u002F4.comparison",{"title":185,"path":186,"stem":187},"Changelog","\u002Fresources\u002Fchangelog","7.resources\u002F5.changelog",{"id":189,"title":5,"body":190,"description":304,"extension":305,"links":306,"meta":307,"navigation":308,"path":6,"seo":309,"stem":7,"__hash__":310},"docs\u002F1.playground.md",{"type":191,"value":192,"toc":299},"minimark",[193,197,211,213,218,292],[194,195,5],"h1",{"id":196},"playground",[198,199,200,201,205,206,210],"p",{},"Tweak any option, hit ",[202,203,204],"strong",{},"Run",", and see the result in real time. The two code panes show exactly what your action call and ",[207,208,209],"code",{},"\u003CModalTarget>"," setup look like with the current configuration.",[196,212],{},[214,215,217],"h2",{"id":216},"what-you-can-change","What you can change",[219,220,221,240,253,262],"ul",{},[222,223,224,227,228,231,232,235,236,239],"li",{},[202,225,226],{},"Action"," — ",[207,229,230],{},"openModal",", ",[207,233,234],{},"replaceModal",", or the ",[207,237,238],{},"useModal"," controller.",[222,241,242,227,245,248,249,252],{},[202,243,244],{},"Modal props",[207,246,247],{},"title"," and ",[207,250,251],{},"level"," passed to the demo dialog.",[222,254,255,227,258,261],{},[202,256,257],{},"Open options",[207,259,260],{},"instantEnter"," to skip the enter animation.",[222,263,264,267,268,275,276,231,279,231,282,231,285,231,288,291],{},[202,265,266],{},"ModalTarget behavior"," — every toggle from ",[269,270,272],"a",{"href":271},"\u002Fapi\u002Ftypes#modalbehavioroptions",[207,273,274],{},"ModalBehaviorOptions",": ",[207,277,278],{},"enableInteractOutside",[207,280,281],{},"disableCloseOnInteractOutside",[207,283,284],{},"disableCloseOnInteractOverlay",[207,286,287],{},"disableLockBodyScroll",[207,289,290],{},"disableCloseOnEscape",".",[198,293,294,295,298],{},"The promise resolves when the user confirms (rendered in the demo dialog) and rejects when the modal closes — both outcomes show up in the ",[202,296,297],{},"Last result"," indicator.",{"title":300,"searchDepth":301,"depth":301,"links":302},"",2,[303],{"id":216,"depth":301,"text":217},"Interactive playground — toggle ModalTarget behavior, modal props, and the action you call, then run it live.","md",null,{},{"icon":8},{"title":5,"description":304},"vm2DI-t_0DP_F1V8f2wrpgr1JRa4TlNwRJaRMiAFLO0",[306,312],{"title":15,"path":16,"stem":17,"description":313,"children":-1},"What @kolirt\u002Fvue-modal is and the problems it solves.",1779523616803]