Created
June 20, 2017 13:34
-
-
Save chengtie/026a3dd9fbe578770e51657f842e1444 to your computer and use it in GitHub Desktop.
Shared with Script Lab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Blank snippet | |
description: '' | |
author: chengtie | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#openSite").click(openSite); | |
async function openSite() { | |
var popup = window.open("http://www.addbba.com/message.html", "popup", "status=1, location=1") | |
} | |
language: typescript | |
template: | |
content: | | |
<button id="openSite" class="ms-Button"> | |
<span class="ms-Button-label">openSite</span> | |
</button> | |
language: html | |
style: | |
content: "/* Your style goes here */\r\n" | |
language: css | |
libraries: | | |
# Office.js | |
https://appsforoffice.microsoft.com/lib/1/hosted/office.js | |
# CSS Libraries | |
[email protected]/dist/css/fabric.min.css | |
[email protected]/dist/css/fabric.components.min.css | |
# NPM libraries | |
[email protected]/client/core.min.js | |
@microsoft/[email protected]/dist/office.helpers.min.js | |
[email protected] | |
# IntelliSense: @types/library or node_modules paths or URL to d.ts files | |
@types/office-js | |
@types/core-js | |
@microsoft/[email protected]/dist/office.helpers.d.ts | |
@types/jquery |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment