newPlaceholder()
Home > @gooddata/sdk-ui > newPlaceholder
newPlaceholder() function
Create a new placeholder. See IPlaceholder.
Signature:
export declare function newPlaceholder<T>(defaultValue?: T, options?: IPlaceholderOptions<T>): IPlaceholder<T>;
Parameters
Parameter | Type | Description |
---|---|---|
defaultValue | T | (Optional) |
options | IPlaceholderOptions<T> | (Optional) |
Returns:
IPlaceholder<T>