refactor(content): use css instead of js

This commit is contained in:
Manu Mtz.-Almeida
2017-10-26 22:11:46 +02:00
parent 10c77e7513
commit 094816de01
30 changed files with 510 additions and 575 deletions

View File

@ -596,6 +596,12 @@ declare global {
mode?: string,
color?: string,
enableJsScroll?: any,
scrollToTop?: any,
scrollToBottom?: any,
ionScrollStart?: any,
ionScroll?: any,
ionScrollEnd?: any,
fullscreen?: boolean
}
}
@ -744,35 +750,6 @@ declare global {
}
}
import { Fixed as IonFixed } from './components/fixed/fixed';
interface HTMLIonFixedElement extends IonFixed, HTMLElement {
}
declare var HTMLIonFixedElement: {
prototype: HTMLIonFixedElement;
new (): HTMLIonFixedElement;
};
declare global {
interface HTMLElementTagNameMap {
"ion-fixed": HTMLIonFixedElement;
}
interface ElementTagNameMap {
"ion-fixed": HTMLIonFixedElement;
}
namespace JSX {
interface IntrinsicElements {
"ion-fixed": JSXElements.IonFixedAttributes;
}
}
namespace JSXElements {
export interface IonFixedAttributes extends HTMLAttributes {
mode?: string,
color?: string,
}
}
}
import { Footer as IonFooter } from './components/footer/footer';
interface HTMLIonFooterElement extends IonFooter, HTMLElement {
@ -1053,7 +1030,7 @@ declare global {
complete?: any,
threshold?: string,
enabled?: boolean,
position?: any
position?: string
}
}
}
@ -2416,6 +2393,9 @@ declare global {
mode?: string,
color?: string,
scrollToTop?: any,
scrollToBottom?: any,
scrollToPoint?: any,
enabled?: boolean,
jsScroll?: boolean,
onionScrollStart?: any,