From c1a470431aa8ffdb1c00c2de807e036e15addccf Mon Sep 17 00:00:00 2001 From: Stefano Cappa Date: Sat, 3 Nov 2018 19:56:58 +0100 Subject: [PATCH] chore(): update all examples based on changes from previous commit --- .../src/app/carousel-ie11/carousel-ie11.html | 15 ++++++++------- .../src/app/carousel-ie11/carousel-ie11.html | 15 ++++++++------- .../src/app/carousel-ie11/carousel-ie11.html | 15 ++++++++------- .../systemjs/app/carousel-ie11/carousel-ie11.html | 15 ++++++++------- .../src/app/carousel-ie11/carousel-ie11.html | 15 ++++++++------- 5 files changed, 40 insertions(+), 35 deletions(-) diff --git a/examples/angular-cli-6/src/app/carousel-ie11/carousel-ie11.html b/examples/angular-cli-6/src/app/carousel-ie11/carousel-ie11.html index f3531e7b..8f611cc6 100644 --- a/examples/angular-cli-6/src/app/carousel-ie11/carousel-ie11.html +++ b/examples/angular-cli-6/src/app/carousel-ie11/carousel-ie11.html @@ -2,7 +2,8 @@

Carousel legacy (IE11) support


ATTENTION! Carousel supports Internet Explorer 11 only if you enable legacy mode. - For more info, please check the official documentation + For more info, please check the official documentation. +

In case of legacy mode, you should set an appropriate carouselConfig.maxHeight to look better, that could be different without legacyMode.

Examples with legacy mode enabled

@@ -10,7 +11,7 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

Obviously, objectFit is ignored when legacyIE11Mode is enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}">
This is my projected content!

@@ -19,8 +20,8 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legacyMode enabled and custom previews


+ [carouselConfig]="{maxWidth: '766px', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [previewConfig]="{visible: true, number: 5, width: 'auto', maxHeight: '100px'}">
This is my projected content!
@@ -29,8 +30,8 @@

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legac

D3 - (id=302) - carousel example for IE11 with description and legacyMode enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [carouselImageConfig]="{description: {strategy: 2}}">
This is my projected content!
@@ -47,7 +48,7 @@

D4 - (id=303) - carousel example for IE11 (previews with different heights b

D5 - (id=304) - carousel example for IE11 with fixed maxWidth (500px) (previews with different heights based on the window's width: xSmall: 50, small: 60, medium: 70, large: 80, xLarge: 100)



diff --git a/examples/angular-cli-material/src/app/carousel-ie11/carousel-ie11.html b/examples/angular-cli-material/src/app/carousel-ie11/carousel-ie11.html index f3531e7b..8f611cc6 100644 --- a/examples/angular-cli-material/src/app/carousel-ie11/carousel-ie11.html +++ b/examples/angular-cli-material/src/app/carousel-ie11/carousel-ie11.html @@ -2,7 +2,8 @@

Carousel legacy (IE11) support


ATTENTION! Carousel supports Internet Explorer 11 only if you enable legacy mode. - For more info, please check the official documentation + For more info, please check the official documentation. +

In case of legacy mode, you should set an appropriate carouselConfig.maxHeight to look better, that could be different without legacyMode.

Examples with legacy mode enabled

@@ -10,7 +11,7 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

Obviously, objectFit is ignored when legacyIE11Mode is enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}">
This is my projected content!

@@ -19,8 +20,8 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legacyMode enabled and custom previews


+ [carouselConfig]="{maxWidth: '766px', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [previewConfig]="{visible: true, number: 5, width: 'auto', maxHeight: '100px'}">
This is my projected content!
@@ -29,8 +30,8 @@

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legac

D3 - (id=302) - carousel example for IE11 with description and legacyMode enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [carouselImageConfig]="{description: {strategy: 2}}">
This is my projected content!
@@ -47,7 +48,7 @@

D4 - (id=303) - carousel example for IE11 (previews with different heights b

D5 - (id=304) - carousel example for IE11 with fixed maxWidth (500px) (previews with different heights based on the window's width: xSmall: 50, small: 60, medium: 70, large: 80, xLarge: 100)



diff --git a/examples/angular-cli/src/app/carousel-ie11/carousel-ie11.html b/examples/angular-cli/src/app/carousel-ie11/carousel-ie11.html index f3531e7b..8f611cc6 100644 --- a/examples/angular-cli/src/app/carousel-ie11/carousel-ie11.html +++ b/examples/angular-cli/src/app/carousel-ie11/carousel-ie11.html @@ -2,7 +2,8 @@

Carousel legacy (IE11) support


ATTENTION! Carousel supports Internet Explorer 11 only if you enable legacy mode. - For more info, please check the official documentation + For more info, please check the official documentation. +

In case of legacy mode, you should set an appropriate carouselConfig.maxHeight to look better, that could be different without legacyMode.

Examples with legacy mode enabled

@@ -10,7 +11,7 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

Obviously, objectFit is ignored when legacyIE11Mode is enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}">
This is my projected content!

@@ -19,8 +20,8 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legacyMode enabled and custom previews


+ [carouselConfig]="{maxWidth: '766px', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [previewConfig]="{visible: true, number: 5, width: 'auto', maxHeight: '100px'}">
This is my projected content!
@@ -29,8 +30,8 @@

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legac

D3 - (id=302) - carousel example for IE11 with description and legacyMode enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [carouselImageConfig]="{description: {strategy: 2}}">
This is my projected content!
@@ -47,7 +48,7 @@

D4 - (id=303) - carousel example for IE11 (previews with different heights b

D5 - (id=304) - carousel example for IE11 with fixed maxWidth (500px) (previews with different heights based on the window's width: xSmall: 50, small: 60, medium: 70, large: 80, xLarge: 100)



diff --git a/examples/systemjs/app/carousel-ie11/carousel-ie11.html b/examples/systemjs/app/carousel-ie11/carousel-ie11.html index f3531e7b..8f611cc6 100644 --- a/examples/systemjs/app/carousel-ie11/carousel-ie11.html +++ b/examples/systemjs/app/carousel-ie11/carousel-ie11.html @@ -2,7 +2,8 @@

Carousel legacy (IE11) support


ATTENTION! Carousel supports Internet Explorer 11 only if you enable legacy mode. - For more info, please check the official documentation + For more info, please check the official documentation. +

In case of legacy mode, you should set an appropriate carouselConfig.maxHeight to look better, that could be different without legacyMode.

Examples with legacy mode enabled

@@ -10,7 +11,7 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

Obviously, objectFit is ignored when legacyIE11Mode is enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}">
This is my projected content!

@@ -19,8 +20,8 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legacyMode enabled and custom previews


+ [carouselConfig]="{maxWidth: '766px', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [previewConfig]="{visible: true, number: 5, width: 'auto', maxHeight: '100px'}">
This is my projected content!
@@ -29,8 +30,8 @@

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legac

D3 - (id=302) - carousel example for IE11 with description and legacyMode enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [carouselImageConfig]="{description: {strategy: 2}}">
This is my projected content!
@@ -47,7 +48,7 @@

D4 - (id=303) - carousel example for IE11 (previews with different heights b

D5 - (id=304) - carousel example for IE11 with fixed maxWidth (500px) (previews with different heights based on the window's width: xSmall: 50, small: 60, medium: 70, large: 80, xLarge: 100)



diff --git a/examples/universal/src/app/carousel-ie11/carousel-ie11.html b/examples/universal/src/app/carousel-ie11/carousel-ie11.html index f3531e7b..8f611cc6 100644 --- a/examples/universal/src/app/carousel-ie11/carousel-ie11.html +++ b/examples/universal/src/app/carousel-ie11/carousel-ie11.html @@ -2,7 +2,8 @@

Carousel legacy (IE11) support


ATTENTION! Carousel supports Internet Explorer 11 only if you enable legacy mode. - For more info, please check the official documentation + For more info, please check the official documentation. +

In case of legacy mode, you should set an appropriate carouselConfig.maxHeight to look better, that could be different without legacyMode.

Examples with legacy mode enabled

@@ -10,7 +11,7 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

Obviously, objectFit is ignored when legacyIE11Mode is enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}">
This is my projected content!

@@ -19,8 +20,8 @@

D1 - (id=300) - carousel example for IE11 (minimal with all defaults, but le

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legacyMode enabled and custom previews


+ [carouselConfig]="{maxWidth: '766px', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [previewConfig]="{visible: true, number: 5, width: 'auto', maxHeight: '100px'}">
This is my projected content!
@@ -29,8 +30,8 @@

D2 - (id=301) - carousel example for IE11 with fixed maxWidth (766px), legac

D3 - (id=302) - carousel example for IE11 with description and legacyMode enabled


+ [carouselConfig]="{maxWidth: '100%', maxHeight: '400px', showArrows: true, objectFit: 'cover', keyboardEnable: true, modalGalleryEnable: false, legacyIE11Mode: true}" + [carouselImageConfig]="{description: {strategy: 2}}">
This is my projected content!
@@ -47,7 +48,7 @@

D4 - (id=303) - carousel example for IE11 (previews with different heights b

D5 - (id=304) - carousel example for IE11 with fixed maxWidth (500px) (previews with different heights based on the window's width: xSmall: 50, small: 60, medium: 70, large: 80, xLarge: 100)