mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
refactor(content): use css instead of js
This commit is contained in:
40
packages/core/src/components.d.ts
vendored
40
packages/core/src/components.d.ts
vendored
@ -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,
|
||||
|
Reference in New Issue
Block a user