UNPKG

@ventum-digital/widget-helper

Version:

Helper functions for SailPoint IdentityIQ widgets

11 lines (10 loc) 616 B
export type AngularScope = any; export type WidgetFunction = (scope: AngularScope, element: HTMLElement) => void; /** * Registers a widget with a given name and widget function to be used within the application. * * @param {string} name - The name of the widget to register. Use the name used in the Widgets XML file. * @param {WidgetFunction} widgetFunction - The function that creates the widgets body. This function is called when the widget is created. * @return {void} - This method does not return any value. */ export declare function registerWidget(name: string, widgetFunction: WidgetFunction): void;