[{"data":1,"prerenderedAt":268},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fpptx\u002Fslide-show":3},{"id":4,"title":5,"body":6,"description":257,"extension":258,"keywords":259,"locale":260,"meta":261,"navigation":262,"order":122,"path":263,"section":264,"seo":265,"stem":266,"__hash__":267},"docs\u002Fpptx\u002Fslide-show.en.md","Slide show",{"type":7,"value":8,"toc":253},"minimark",[9,13,63,66,71,185,199,203,235,249],[10,11,12],"p",{},"Users start a show from the editor's Slide Show tab or the button at the top right. The host can also start one from the session:",[14,15,20],"pre",{"className":16,"code":17,"language":18,"meta":19,"style":19},"language-ts shiki shiki-themes github-light github-light github-dark","const show = await session.present(0)   \u002F\u002F from the first slide; without an argument, from the selected slide\n","ts","",[21,22,23],"code",{"__ignoreMap":19},[24,25,28,32,36,39,42,46,50,53,56,59],"span",{"class":26,"line":27},"line",1,[24,29,31],{"class":30},"sDD9d","const",[24,33,35],{"class":34},"sUNQB"," show",[24,37,38],{"class":30}," =",[24,40,41],{"class":30}," await",[24,43,45],{"class":44},"sVPnS"," session.",[24,47,49],{"class":48},"sgQzM","present",[24,51,52],{"class":44},"(",[24,54,55],{"class":34},"0",[24,57,58],{"class":44},")   ",[24,60,62],{"class":61},"sqmzS","\u002F\u002F from the first slide; without an argument, from the selected slide\n",[10,64,65],{},"The show covers the page and asks for full screen, and plays the deck's saved transitions, animations, rehearsed timings and show settings, including audio, video and trigger animations.",[67,68,70],"h2",{"id":69},"control-the-show","Control the show",[14,72,74],{"className":16,"code":73,"language":18,"meta":19,"style":19},"show.next()                  \u002F\u002F plays the next animation or moves to the next slide\nshow.previous()\nshow.go(3)                   \u002F\u002F jumps to the fourth slide\nshow.setTool('laser')        \u002F\u002F pointer, laser, spotlight, magnifier, pen, highlighter, eraser\nshow.setInkColor('#E5484D')\nshow.setBlank('black')       \u002F\u002F blanks the screen; null shows the slide again\nshow.close()\n",[21,75,76,90,101,120,140,156,175],{"__ignoreMap":19},[24,77,78,81,84,87],{"class":26,"line":27},[24,79,80],{"class":44},"show.",[24,82,83],{"class":48},"next",[24,85,86],{"class":44},"()                  ",[24,88,89],{"class":61},"\u002F\u002F plays the next animation or moves to the next slide\n",[24,91,93,95,98],{"class":26,"line":92},2,[24,94,80],{"class":44},[24,96,97],{"class":48},"previous",[24,99,100],{"class":44},"()\n",[24,102,104,106,109,111,114,117],{"class":26,"line":103},3,[24,105,80],{"class":44},[24,107,108],{"class":48},"go",[24,110,52],{"class":44},[24,112,113],{"class":34},"3",[24,115,116],{"class":44},")                   ",[24,118,119],{"class":61},"\u002F\u002F jumps to the fourth slide\n",[24,121,123,125,128,130,134,137],{"class":26,"line":122},4,[24,124,80],{"class":44},[24,126,127],{"class":48},"setTool",[24,129,52],{"class":44},[24,131,133],{"class":132},"s-HEn","'laser'",[24,135,136],{"class":44},")        ",[24,138,139],{"class":61},"\u002F\u002F pointer, laser, spotlight, magnifier, pen, highlighter, eraser\n",[24,141,143,145,148,150,153],{"class":26,"line":142},5,[24,144,80],{"class":44},[24,146,147],{"class":48},"setInkColor",[24,149,52],{"class":44},[24,151,152],{"class":132},"'#E5484D'",[24,154,155],{"class":44},")\n",[24,157,159,161,164,166,169,172],{"class":26,"line":158},6,[24,160,80],{"class":44},[24,162,163],{"class":48},"setBlank",[24,165,52],{"class":44},[24,167,168],{"class":132},"'black'",[24,170,171],{"class":44},")       ",[24,173,174],{"class":61},"\u002F\u002F blanks the screen; null shows the slide again\n",[24,176,178,180,183],{"class":26,"line":177},7,[24,179,80],{"class":44},[24,181,182],{"class":48},"close",[24,184,100],{"class":44},[10,186,187,190,191,194,195,198],{},[21,188,189],{},"show.index"," is the current position and ",[21,192,193],{},"show.animation"," gives the animation steps played and in total on the slide. ",[21,196,197],{},"subscribe()"," notifies the host after the slide, tool or blank changes, which suits a presenter view of your own.",[67,200,202],{"id":201},"after-the-show","After the show",[14,204,206],{"className":16,"code":205,"language":18,"meta":19,"style":19},"const { ink, timings } = await show.closed\n",[21,207,208],{"__ignoreMap":19},[24,209,210,212,215,218,221,224,227,230,232],{"class":26,"line":27},[24,211,31],{"class":30},[24,213,214],{"class":44}," { ",[24,216,217],{"class":34},"ink",[24,219,220],{"class":44},", ",[24,222,223],{"class":34},"timings",[24,225,226],{"class":44}," } ",[24,228,229],{"class":30},"=",[24,231,41],{"class":30},[24,233,234],{"class":44}," show.closed\n",[10,236,237,240,241,244,245,248],{},[21,238,239],{},"closed"," resolves when the viewer leaves or ",[21,242,243],{},"close()"," is called, with the ink drawn on each slide and the rehearsed timings (",[21,246,247],{},"null"," when not rehearsed). When a show ends in the editor interface, the editor asks whether to keep the ink and timings; for shows started from code, the host decides what to do with them.",[250,251,252],"style",{},"html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sUNQB, html code.shiki .sUNQB{--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sgQzM, html code.shiki .sgQzM{--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sqmzS, html code.shiki .sqmzS{--shiki-default:#6A737D;--shiki-light:#6A737D;--shiki-dark:#6A737D}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}",{"title":19,"searchDepth":92,"depth":92,"links":254},[255,256],{"id":69,"depth":92,"text":70},{"id":201,"depth":92,"text":202},"Start a show from code, move through it, switch pens and blank the screen, and get the ink back when it ends.","md",null,"en",{},true,"\u002Fen\u002Fpptx\u002Fslide-show","PPTX Editor",{"title":5,"description":257},"pptx\u002Fslide-show.en","eN8Pm_Eetq_y6y14vw1GLyVIDoAxOqXTALpQiNTdPl4",1796438336840]