API Reference
The SAS Content SDK provides a set of components and APIs that enable you to render tiles representing items (such as Report and Models) stored in SAS Viya. It also enables you to use SAS content items to drive your own processes or to interact with SAS Visual Analytics SDK.
Top-Level Exports
Loading with a script element
When you load the library with a script element, the Content SDK components are not ready to configure and use until all of the other assets are loaded. The contentSdkComponents.loaded
event is dispatched once it is ready.
<script async src="https://cdn.developer.sas.com/packages/content-sdk/latest/dist/umd/content-sdk-components.js"></script>
<script>
window.addEventListener('contentSdkComponents.loaded', function() {
// The SAS Content SDK is loaded and ready
});
</script>