dotcms
Version:
This library allows you to interact with DotCMS API's easily from the browser, nodejs and React Native. [Full Documentation](https://dotcms.github.io/core-web/dotcms/)
14 lines (13 loc) • 384 B
TypeScript
import { DotCMSHttpClient } from '../utils/DotCMSHttpClient';
/**
* DotCMS {@link https://dotcms.com/docs/latest/widgets | widgets handler}
*/
export declare class DotApiWidget {
private dotCMSHttpClient;
constructor(httpClient: DotCMSHttpClient);
/**
* Get the widght HTML strong with it identifier
*
*/
getHtml(widgetId: string): Promise<string>;
}