feat(item-sliding): adds disabled prop

fixes #14831
This commit is contained in:
Manu Mtz.-Almeida
2018-08-07 20:38:11 +02:00
parent 2b7007f38e
commit 9773e2a3b3
3 changed files with 39 additions and 2 deletions

View File

@ -1044,6 +1044,10 @@ declare global {
* Close all of the sliding items in the list. Items can also be closed from the [List](../../list/List).
*/
'closeOpened': () => boolean;
/**
* If true, the user cannot interact with the sliding-item. Defaults to `false`.
*/
'disabled': boolean;
/**
* Get the amount the item is open in pixels.
*/
@ -4666,6 +4670,10 @@ declare global {
}
export interface IonItemSlidingAttributes extends HTMLAttributes {
/**
* If true, the user cannot interact with the sliding-item. Defaults to `false`.
*/
'disabled'?: boolean;
/**
* Emitted when the sliding position changes.
*/