gd-sprest-js
Version:
SharePoint 2013/Online js components.
34 lines (33 loc) • 974 B
TypeScript
import { Types } from "gd-sprest";
import { Fabric, IProps } from ".";
/**
* People Picker
*/
export interface IPeoplePicker {
/** Returns the fabric component. */
get(): Fabric.IPeoplePicker;
/** Returns the link value. */
getValue(): Array<Types.SP.IPeoplePickerUser>;
}
/**
* People Picker Properties
*/
export interface IPeoplePickerProps extends IProps {
/** Flag to allow multiple personas. */
allowMultiple?: boolean;
/** Flag to allow groups. */
allowGroups?: boolean;
/** The people picker description. */
description?: string;
/** The people picker label. */
label?: string;
/** Required flag. */
required?: boolean;
/**
* Search the user information list first, with a 'Search All' button for searching all available users.
* @default - This flag is false by default.
*/
searchLocalFl?: boolean;
/** The people picker value */
value?: Array<Types.SP.IPeoplePickerUser>;
}