ReferenceSDK
Web SDK
The Verdocs Web SDK provides both native Web Components and IFRAMEs that seamlessly integrate into any modern framework that supports Web Components, including Vue, Angular, React, Svelte, etc.
Web Components vs IFRAMEs
We recomend using Web components over IFRAMEs for three reasons:
- IFRAMEs are hard to style. Generally, you can only make alterations that the developer specifically provided options for. In contrast, Web Components can be styled with CSS just like any other HTML element, making it much easier to achieve the look and feel you want.
- IFRAMEs are harder to control. In modern browsers, they must channel events and callbacks through mechanisms like postMessage(), limiting the amount of control you have over the component's behavior and visibility into its status.
- Web Components are faster. They are bundled into your Web app's distribution files and load immediately when each page is displayed, where IFRAMEs are loaded remotely in a second step.
Reference
Explore the JavaScript (Node) SDK and see how to interact with the platform programmatically. This section covers the core functionality, usage patterns, and examples to help you integrate quickly and build with confidence.
Styling
Styling Web components is easy, which is one of their main advantages. Simply inspect any element to identify the classes identifying it, and include CSS in your application to override the default styles provided.