igniteui-react-inputs
Version:
Ignite UI React input components.
83 lines (80 loc) • 2.37 kB
TypeScript
import * as React from 'react';
import { XPrefix } from "./XPrefix";
import { IgrXInputGroupItem, IIgrXInputGroupItemProps } from './igr-x-input-group-item';
export declare class IgrXPrefix extends IgrXInputGroupItem<IIgrXPrefixProps> {
private _container;
private _initialized;
private _elRef;
private _portalManager;
private _wrapper;
private _getMainRef;
render(): React.DetailedReactHTMLElement<{
className: string;
ref: (ref: any) => void;
children: any[];
}, any>;
private requestRender;
constructor(props: IIgrXPrefixProps);
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
protected initializeProperties(): void;
updateStyle(): void;
destroy(): void;
componentWillUnmount(): void;
componentDidMount(): void;
initializeContent(): void;
protected createImplementation(): XPrefix;
private _prefix;
/**
* @hidden
*/
get i(): XPrefix;
/**
* Gets or sets the id to use for the checkbox.
*/
get id(): string;
set id(v: string);
/**
* Gets or sets the value of the aria-label attribute.
*/
get ariaLabel(): string;
set ariaLabel(v: string);
/**
* Gets or sets whether the prefix is hovered.
*/
get isHover(): boolean;
set isHover(v: boolean);
/**
* Gets or sets whether the checkbox is disabled.
*/
get disabled(): boolean;
set disabled(v: boolean);
onDetachedFromUI(): void;
onAttachedToUI(): void;
/**
* Exports visual information about the current state of the grid.
*/
exportVisualModel(): any;
/**
* Returns a serialized copy of the exported visual model
*/
exportSerializedVisualModel(): string;
}
export interface IIgrXPrefixProps extends IIgrXInputGroupItemProps {
children?: React.ReactNode;
/**
* Gets or sets the id to use for the checkbox.
*/
id?: string;
/**
* Gets or sets the value of the aria-label attribute.
*/
ariaLabel?: string;
/**
* Gets or sets whether the prefix is hovered.
*/
isHover?: boolean | string;
/**
* Gets or sets whether the checkbox is disabled.
*/
disabled?: boolean | string;
}