feat(header, footer): add ios fading header style (#24011)

This commit is contained in:
Liam DeBeasi
2021-10-05 16:44:23 -04:00
committed by GitHub
parent 225a278740
commit 7ce3959b66
27 changed files with 704 additions and 60 deletions

View File

@ -920,6 +920,10 @@ export namespace Components {
"side": 'start' | 'end' | 'top' | 'bottom';
}
interface IonFooter {
/**
* Describes the scroll effect that will be applied to the footer. Only applies in iOS mode.
*/
"collapse"?: 'fade';
/**
* The mode determines which platform styles to use.
*/
@ -937,9 +941,9 @@ export namespace Components {
}
interface IonHeader {
/**
* Describes the scroll effect that will be applied to the header `condense` only applies in iOS mode. Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
* Describes the scroll effect that will be applied to the header. Only applies in iOS mode. Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
*/
"collapse"?: 'condense';
"collapse"?: 'condense' | 'fade';
/**
* The mode determines which platform styles to use.
*/
@ -4606,6 +4610,10 @@ declare namespace LocalJSX {
"side"?: 'start' | 'end' | 'top' | 'bottom';
}
interface IonFooter {
/**
* Describes the scroll effect that will be applied to the footer. Only applies in iOS mode.
*/
"collapse"?: 'fade';
/**
* The mode determines which platform styles to use.
*/
@ -4623,9 +4631,9 @@ declare namespace LocalJSX {
}
interface IonHeader {
/**
* Describes the scroll effect that will be applied to the header `condense` only applies in iOS mode. Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
* Describes the scroll effect that will be applied to the header. Only applies in iOS mode. Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)
*/
"collapse"?: 'condense';
"collapse"?: 'condense' | 'fade';
/**
* The mode determines which platform styles to use.
*/