Files
ionic-framework/core/src/utils/element-interface.ts

16 lines
427 B
TypeScript

// The interfaces in this file are used to make sure our components
// have the correct properties defined that are needed to pass to
// the native HTML elements they render
export interface AnchorInterface {
href: string | undefined;
target: string | undefined;
rel: string | undefined;
download: string | undefined;
}
export interface ButtonInterface {
type: 'submit' | 'reset' | 'button';
disabled: boolean;
}