fix(item-sliding): fix the item options visibility and wrap the button

- updates documentation
- renames `getSlidingPercent` to `getSlidingRatio `
- adds expandable as a property to option
- renames classes and updates styles
- fixes a bug where active class wasn’t being removed on drag end

references #13993
This commit is contained in:
Brandy Carney
2018-02-09 22:35:20 -05:00
parent 7eca95daa9
commit 5ed6c71888
20 changed files with 204 additions and 237 deletions

View File

@ -1314,6 +1314,7 @@ declare global {
export interface IonItemOptionAttributes extends HTMLAttributes {
color?: string;
disabled?: boolean;
expandable?: boolean;
href?: string;
mode?: 'ios' | 'md';
}