mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
feat(select): add compareWith property (#17358)
* feat(select): add compareWith property * style(select): fix lint errors * test(select): move tests from preview to basic * refactor(select): improve parameter names in compareOptions method * chore(): add react usage docs * chore(): update var names, update examples * rerun build * add doc on compareWith
This commit is contained in:

committed by
Liam DeBeasi

parent
14dd871a85
commit
69ecebb159
11
core/src/components.d.ts
vendored
11
core/src/components.d.ts
vendored
@ -77,6 +77,9 @@ import {
|
||||
import {
|
||||
EventEmitter,
|
||||
} from '@stencil/core';
|
||||
import {
|
||||
SelectCompareFn,
|
||||
} from './components/select/select-interface';
|
||||
|
||||
|
||||
export namespace Components {
|
||||
@ -3993,6 +3996,10 @@ export namespace Components {
|
||||
*/
|
||||
'cancelText': string;
|
||||
/**
|
||||
* A property name or function used to compare object values
|
||||
*/
|
||||
'compareWith'?: string | SelectCompareFn | null;
|
||||
/**
|
||||
* If `true`, the user cannot interact with the select.
|
||||
*/
|
||||
'disabled': boolean;
|
||||
@ -4043,6 +4050,10 @@ export namespace Components {
|
||||
*/
|
||||
'cancelText'?: string;
|
||||
/**
|
||||
* A property name or function used to compare object values
|
||||
*/
|
||||
'compareWith'?: string | SelectCompareFn | null;
|
||||
/**
|
||||
* If `true`, the user cannot interact with the select.
|
||||
*/
|
||||
'disabled'?: boolean;
|
||||
|
Reference in New Issue
Block a user