igniteui-react-grids
Version:
Ignite UI React grid components.
107 lines (104 loc) • 3.98 kB
TypeScript
import * as React from 'react';
import { IgrGridActionsBaseDirectiveCollection } from "./igr-grid-actions-base-directive-collection";
import { IgrActionStripResourceStrings } from "./igr-action-strip-resource-strings";
import { ActionStrip } from "./ActionStrip";
import { ReactRenderer, PortalManager } from "igniteui-react-core";
import { ContentChildrenManager } from "igniteui-react-core";
import { IgrGridActionsBaseDirective } from "./igr-grid-actions-base-directive";
export declare class IgrActionStrip<P extends IIgrActionStripProps = IIgrActionStripProps> extends React.Component<P & Omit<React.HTMLAttributes<HTMLElement>, keyof P>, {}> {
protected createImplementation(): ActionStrip;
protected _implementation: any;
protected mounted: boolean;
get nativeElement(): HTMLElement;
/**
* @hidden
*/
get i(): ActionStrip; /**
* @hidden
*/
static _createFromInternal(internal: any): IgrActionStrip;
protected _renderer: ReactRenderer;
protected _portalManager: PortalManager;
private portaledContentChildren;
componentWillUnmount(): void;
protected onImplementationCreated(): void;
protected _contentChildrenManager: ContentChildrenManager;
protected _initializeAdapters(): void;
protected _updateAdapters(): void;
constructor(props: P & Omit<React.HTMLAttributes<HTMLElement>, keyof P>);
componentDidMount(): void;
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
render(): React.DetailedReactHTMLElement<{
ref: (ref: any) => void;
className: (P & Omit<React.HTMLAttributes<HTMLElement>, keyof P>)["className"];
style: {};
children: any[];
}, any>;
protected _elRef: HTMLElement;
protected _getMainRef(ref: any): void;
private _actionButtons;
private _actualActionButtons;
get actualActionButtons(): IgrGridActionsBaseDirective[];
private _contentActionButtons;
get contentActionButtons(): IgrGridActionsBaseDirective[];
private _actionButtonsAdapter;
/**
* ActionButton as ContentChildren inside the Action Strip
* @hidden
* @internal
*/
get actionButtons(): IgrGridActionsBaseDirectiveCollection;
get hidden(): boolean;
set hidden(v: boolean);
/**
* Gets/Sets the resource strings.
* @remarks
* By default it uses EN resources.
*/
get resourceStrings(): IgrActionStripResourceStrings;
set resourceStrings(v: IgrActionStripResourceStrings);
get name(): string;
set name(v: string);
findByName(name: string): any;
protected __p: string;
protected _hasUserValues: Set<string>;
protected get hasUserValues(): Set<string>;
protected __m(propertyName: string): void;
protected _stylingContainer: any;
protected _stylingParent: any;
protected _inStyling: boolean;
protected _styling(container: any, component: any, parent?: any): void;
setNativeElement(element: any): void;
/**
* Showing the Action Strip and appending it the specified context element.
* context
* @example
* ```typescript
* this.actionStrip.show(row);
* ```
* @param * context
*/
show(context: any): void;
/**
* Hiding the Action Strip and removing it from its current context element.
* @example
* ```typescript
* this.actionStrip.hide();
* ```
*/
hide(): void;
}
export interface IIgrActionStripProps {
children?: React.ReactNode;
id?: string | undefined;
className?: string | undefined;
style?: React.CSSProperties | undefined;
hidden?: boolean | string;
/**
* Gets/Sets the resource strings.
* @remarks
* By default it uses EN resources.
*/
resourceStrings?: IgrActionStripResourceStrings;
name?: string;
}