@coxwave/tap-kit-types 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3616,6 +3616,19 @@ interface ITapMaterialViewerElement extends HTMLElement {
|
|
|
3616
3616
|
*/
|
|
3617
3617
|
open(config: MaterialViewConfig): Promise<void>;
|
|
3618
3618
|
|
|
3619
|
+
/**
|
|
3620
|
+
* Open material viewer with HTML URL
|
|
3621
|
+
*
|
|
3622
|
+
* Loads HTML content directly in iframe without PDF processing.
|
|
3623
|
+
* Useful for viewing HTML documents or web pages.
|
|
3624
|
+
*
|
|
3625
|
+
* @param url - URL of the HTML content to display
|
|
3626
|
+
* @param materialId - Optional identifier for the material (defaults to 'html')
|
|
3627
|
+
* @fires error - When HTML loading fails
|
|
3628
|
+
* @fires open - When HTML is successfully displayed
|
|
3629
|
+
*/
|
|
3630
|
+
openHtml(url: string, materialId?: string): void;
|
|
3631
|
+
|
|
3619
3632
|
/**
|
|
3620
3633
|
* Close material viewer and cleanup resources
|
|
3621
3634
|
*
|