diff --git a/demos/item-sliding/avatar-cher.png b/demos/item-sliding/avatar-cher.png new file mode 100644 index 0000000000..a06fff3590 Binary files /dev/null and b/demos/item-sliding/avatar-cher.png differ diff --git a/demos/item-sliding/avatar-dionne.png b/demos/item-sliding/avatar-dionne.png new file mode 100644 index 0000000000..521e0657b8 Binary files /dev/null and b/demos/item-sliding/avatar-dionne.png differ diff --git a/demos/item-sliding/avatar-murray.png b/demos/item-sliding/avatar-murray.png new file mode 100644 index 0000000000..a2f2df468a Binary files /dev/null and b/demos/item-sliding/avatar-murray.png differ diff --git a/demos/item-sliding/index.ts b/demos/item-sliding/index.ts new file mode 100644 index 0000000000..405e893db7 --- /dev/null +++ b/demos/item-sliding/index.ts @@ -0,0 +1,6 @@ +import {App} from 'ionic/ionic'; + +@App({ + templateUrl: 'main.html' +}) +class ApiDemoApp {} diff --git a/demos/item-sliding/main.html b/demos/item-sliding/main.html new file mode 100644 index 0000000000..a8db155fc0 --- /dev/null +++ b/demos/item-sliding/main.html @@ -0,0 +1,178 @@ + + Item Sliding + + + + + + Chats + + + + + + + + Cher + Ugh. As if. + + 9:38 pm + + + + + + More + + + + Mute + + + + Delete + + + + + + + + + + Dionne + Mr. Hall was way harsh on my report card. + + 8:59 pm + + + + + + More + + + + Mute + + + + Delete + + + + + + + + + + Murray + Excuse me, "Ms. Dione." + + Wed + + + + + + More + + + + Mute + + + + Delete + + + + + + + + Logins + + + + + + Twitter + admin + + + + edit + + + + + + + + + + + GitHub + admin37 + + + + edit + + + + + + + + + + + Instagram + imanadmin + + + + edit + + + + + + + + + + + + diff --git a/ionic/components/item/item-sliding.ts b/ionic/components/item/item-sliding.ts index 60b4f305a5..9a4f5cdc28 100644 --- a/ionic/components/item/item-sliding.ts +++ b/ionic/components/item/item-sliding.ts @@ -13,9 +13,9 @@ import {List} from '../list/list'; * ```html * * - * + * * {{item.title}} - * + * * * Favorite * Share @@ -23,6 +23,7 @@ import {List} from '../list/list'; * * * ``` + * @demo /docs/v2/demos/item-sliding/ * @see {@link /docs/v2/components#lists List Component Docs} * @see {@link ../../list/List List API Docs} */ diff --git a/ionic/components/option/option.ts b/ionic/components/option/option.ts index 95ebee854a..fd8497b0e7 100644 --- a/ionic/components/option/option.ts +++ b/ionic/components/option/option.ts @@ -10,6 +10,7 @@ import {isDefined, isTrueProperty} from '../../util/util'; * @property [value] - the value of the option * @property [checked] - whether or not the option is already checked and selected * + * @demo /docs/v2/demos/item-sliding/ */ @Directive({ selector: 'ion-option'
Ugh. As if.
Mr. Hall was way harsh on my report card.
Excuse me, "Ms. Dione."
admin
admin37
imanadmin