Bilješka
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati da se prijavite ili promijenite direktorije.
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati promijeniti direktorije.
As we described in Getting Started page, an Adaptive Card is a JSON-serialized card object model. This is a JavaScript SDK for generating client-side HTML in the browser.
Install
Node
npm install adaptivecards
CDN
<script src="https://unpkg.com/adaptivecards/dist/adaptivecards.js"></script>
Usage
Import the module
// import the module
import * as AdaptiveCards from "adaptivecards";
// or require it
var AdaptiveCards = require("adaptivecards");
// or use the global variable if loaded from CDN
AdaptiveCards.renderCard(...);
Next steps
See Render a card for the next steps!