@syncfusion/ej2-splitbuttons
Version: 
A package of feature-rich Essential JS 2 components such as DropDownButton, SplitButton, ProgressButton and ButtonGroup.
46 lines (45 loc) • 1.67 kB
TypeScript
import { TestHelper } from '@syncfusion/ej2-base/helpers/e2e';
/**
 * E2E test helpers for SplitButton to easily interact and the test the component
 */
export declare class SplitButtonHelper extends TestHelper {
    id: string;
    wrapperFn: Function;
    /**
     * Initialize the SplitButton E2E helpers
     * @param id Element id of the SplitButton element
     * @param wrapperFn Pass the wrapper function
     * @return SplitButton any
     */
    constructor(id: string, wrapperFn: Function);
    /**
     * Used to get the root element of the SplitButton component.
     * @return Element
     */
    getElement(): any;
    /**
    * Used to get the dropdown button element of the SplitButton component
    */
    getDropDownElement(): any;
    /**
    * Used to get the dropdown popup element of the SplitButton component
    */
    getPopupElement(): any;
    /**
     * The setModel method is used to set values for the property. It will accepts two arguments.
     * @param property - Specifies the name of the property whose value has to be updated.
     * @param value - Specifies the corresponding value to the property.
     */
    setModel(property: any, value: any): any;
    /**
     * The getModel method is used to return value for the property.
     * @param property - Specifies the name of the property.
     */
    getModel(property: any): any;
    /**
     * The invoke method is used to access the public methods available in SplitButton control.
     * @param fName - Specifies the method name of the SplitButton control.
     * @param args - Specifies the arguments. This is optional.
     */
    invoke(fName: any, args?: any): any;
}