Name: PowerPoint-Add-in-Timer
Owner: Office Developer
Description: A PowerPoint task-pane add-in that provides a timer. This sample makes use of the showNotification() alert, that pops up every ten seconds. The Settings.set and Settings.get methods are used to save the number of timer trials.
Created: 2015-08-20 21:33:47.0
Updated: 2016-11-05 10:54:03.0
Pushed: 2017-12-28 21:35:59.0
Homepage: null
Size: 20
Language: CSS
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A PowerPoint task pane add-in that provides a timer.
Table of contents
In this sample, we show you how to use the JavaScript API for Office to create a timer in a task pane add-in. This sample makes use of the showNotification() alert, that pops up every 10 seconds. The Settings.set and Settings.get methods are used to save the number of timer trials.
This sample requires the following:
Start the timer by using the buttons in the task pane. A notification in a red background color displays every 10 seconds to notify the time. To stop the timer, click the Stop timer button. All of the times are displayed, with the trial number attached. You can clear the timer trials by clicking the Clear timer button.
Copyright (c) 2015 Microsoft. All rights reserved.
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.