@types/ui-select
TypeScript icon, indicating that this package has built-in type declarations

0.19.4 • Public • Published

Installation

npm install --save @types/ui-select

Summary

This package contains type definitions for ui-select (https://github.com/angular-ui/ui-select).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ui-select.

index.d.ts

/// <reference types="angular" />

import * as angular from "angular";

declare module "angular" {
    export namespace ui.select {
        interface ISelectConfig {
            appendToBody: boolean;
            backspaceReset: boolean;
            closeOnSelect: boolean;
            dropdownPosition: string;
            generateId(): number;
            paste?: IPasteFn | undefined;
            placeholder: string;
            refreshDelay: number;
            removeSelected: boolean;
            resetSearchInput: boolean;
            searchEnabled: boolean;
            skipFocusser: boolean;
            sortable: boolean;
            spinnerClass: string;
            spinnerEnabled: boolean;
            theme: string;
        }

        interface ISelectController {
            activeIndex: number;
            clickTriggeredSelect: boolean;
            closeOnSelect: boolean;
            close(skipFocusser?: boolean): void;
            disabled: boolean;
            dropdownPosition: string;
            focus: boolean;
            isEmpty(): boolean;
            isGrouped?: boolean | undefined;
            isLocked(): boolean;
            itemProperty?: string | undefined;
            open: boolean;
            parserResult?: IRepeatExpression | undefined;
            paste?: IPasteFn | undefined;
            placeholder: string;
            refreshDelay: number;
            refreshing: boolean;
            removeSelected: boolean;
            resetSearchInput: boolean;
            searchEnabled: boolean;
            search: string;
            setFocus(): void;
            sizeSearchInput(): void;
            skipFocusser: boolean;
            sortable: boolean;
            spinnerClass: string;
            spinnerEnabled: boolean;
        }

        interface IPasteFn {
            (data: string): void;
        }

        interface IRepeatExpression {
            filters: string;
            itemName: string;
            keyName: string;
            modelMapper: string;
            repeatExpression(grouped: boolean): string;
            source: string;
            trackByExp: string;
        }
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/angular

Credits

These definitions were written by Niko Kovačič, and Adam Kwiatek.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ui-select

Weekly Downloads

3,497

Version

0.19.4

License

MIT

Unpacked Size

7.11 kB

Total Files

5

Last publish

Collaborators

  • types