Skip to content

Fixes instructions in PPT shapes snippet #619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions samples/powerpoint/preview-apis/shapes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,35 @@ template:

<section class="samples ms-font-m">
<h3>Try it out</h3>
<p>Begin by deleting all shapes that are currently on the slide.</p>
<p />

<button id="remove-all" class="ms-Button">
<span class="ms-Button-label">Remove all shapes</span>
</button>
<p />

<p>Create, shrink, and move a shape.</p>
<p />

<button id="create-hexagon" class="ms-Button">
<span class="ms-Button-label">Create hexagon</span>
</button>
<p />

<button id="shrink-hexagon" class="ms-Button">
<span class="ms-Button-label">Shrink hexagon</span>
</button>
<p />

<button id="move-hexagon" class="ms-Button">
<span class="ms-Button-label">Move hexagon</span>
</button>
<p />

<p>Create other shapes.</p>
<p />

<button id="create-line" class="ms-Button">
<span class="ms-Button-label">Create line</span>
</button>
Expand All @@ -182,12 +199,7 @@ template:
<button id="create-shape-with-text" class="ms-Button">
<span class="ms-Button-label">Create shape with text</span>
</button>
<p />

<button id="remove-all" class="ms-Button">
<span class="ms-Button-label">Remove all shapes</span>
</button>
<p />
</section>
language: html
style:
Expand Down