diff --git a/demos/component-docs/img/thumbnail-duckling-1.jpg b/demos/component-docs/img/thumbnail-duckling-1.jpg new file mode 100644 index 0000000000..e66521322c Binary files /dev/null and b/demos/component-docs/img/thumbnail-duckling-1.jpg differ diff --git a/demos/component-docs/img/thumbnail-duckling-2.jpg b/demos/component-docs/img/thumbnail-duckling-2.jpg new file mode 100644 index 0000000000..7d19035c43 Binary files /dev/null and b/demos/component-docs/img/thumbnail-duckling-2.jpg differ diff --git a/demos/component-docs/img/thumbnail-duckling-3.jpg b/demos/component-docs/img/thumbnail-duckling-3.jpg new file mode 100644 index 0000000000..cda1e2db93 Binary files /dev/null and b/demos/component-docs/img/thumbnail-duckling-3.jpg differ diff --git a/demos/component-docs/img/thumbnail-duckling-4.jpg b/demos/component-docs/img/thumbnail-duckling-4.jpg new file mode 100644 index 0000000000..73c95d4e2a Binary files /dev/null and b/demos/component-docs/img/thumbnail-duckling-4.jpg differ diff --git a/demos/component-docs/inputs/segment/pages.ts b/demos/component-docs/inputs/segment/pages.ts index 783d55964b..49d674f7a6 100644 --- a/demos/component-docs/inputs/segment/pages.ts +++ b/demos/component-docs/inputs/segment/pages.ts @@ -1,4 +1,4 @@ -import {Page} from 'ionic/ionic'; +import {Page, Platform} from 'ionic/ionic'; import {forwardRef} from 'angular2/angular2'; import {AndroidAttribute} from '../../helpers'; @@ -7,8 +7,10 @@ import {AndroidAttribute} from '../../helpers'; directives: [forwardRef(() => AndroidAttribute)] }) export class SegmentPage{ - constructor() { + constructor(platform: Platform) { + this.platform = platform; this.pet = "puppies"; + this.isAndroid = platform.is('android'); } } diff --git a/demos/component-docs/inputs/segment/template.html b/demos/component-docs/inputs/segment/template.html index 45f2428b67..c55ee419a7 100644 --- a/demos/component-docs/inputs/segment/template.html +++ b/demos/component-docs/inputs/segment/template.html @@ -6,19 +6,26 @@ + + + + Puppies + + + Kittens + + + Ducklings + + + + -
- - - Kittens - - - Puppies - - -
+
@@ -74,6 +81,33 @@

Nala

+ + + + + + +

Daffy

+
+ + + + +

Huey

+
+ + + + +

Dewey

+
+ + + + +

Louie

+
+