gd-sprest-js
Version:
SharePoint 2013/Online js components.
34 lines (33 loc) • 836 B
TypeScript
import { Fabric, ICommandButtonProps, IProps } from ".";
/**
* Callout
*/
export interface ICallout {
/** Closes the callout. */
close(): any;
/** Returns the fabric component. */
get(): Fabric.ICallout;
/** Gets the main content */
getContent(): HTMLDivElement;
}
/**
* Callout Properties
*/
export interface ICalloutProps extends IProps {
/** The callout actions. */
actions?: Array<ICommandButtonProps>;
/** The callout content. */
content?: string;
/** The target element. */
elTarget?: Element;
/** The callout position. */
position?: string;
/** True to show the close button. */
showCloseButton?: boolean;
/** The callout sub text. */
subText?: string;
/** The callout title. */
title?: string;
/** The callout type. */
type?: number;
}