@varsharm/action-sdk-varun
v1.0.27
Published
Client SDK for building action packages for ActionPlatform
Downloads
2
Readme
ActionPlatform JavaScript Library
Installation
To install the stable version:
npm
npm install --save @microsoft/m365-action-sdk
yarn
yarn add @microsoft/m365-action-sdk
Production
You can access these files on unpkg, download them, or point your package manager to them.
Usage
As an npm package
Install either using npm or yarn
If you are using any dependency loader such as RequireJS or SystemJS or module bundler such as browserify, webpack, you can use import
syntax to import specific modules. For e.g.
import * as actionSDK from "@microsoft/m365-action-sdk";
As a Script Tag
Reference the library inside of your .html
page using:
<!-- ActionPlatform JavaScript Library Latest Version (via CDN) -->
<script src="https://static.actions.office365.com/sdk/ActionSDK.min.js" crossorigin="anonymous"></script>
<!-- ActionPlatform JavaScript Library Specific Version (via CDN) -->
<script src="https://static.actions.office365.com/sdk/v1.0.0/ActionSDK.min.js" crossorigin="anonymous"></script>
<!-- ActionPlatform JavaScript Library Latest Version (via unpkg) -->
<script src="https://unpkg.com/@microsoft/m365-action-sdk/dist/ActionSDK.min.js" crossorigin="anonymous"></script>
<!-- ActionPlatform JavaScript Library Specific Version (via unpkg) -->
<script src="https://unpkg.com/@microsoft/[email protected]/dist/ActionSDK.min.js" crossorigin="anonymous"></script>