mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
chore(picker): move picker-column to separate directory
This commit is contained in:
62
packages/core/src/components.d.ts
vendored
62
packages/core/src/components.d.ts
vendored
@ -1992,6 +1992,37 @@ declare global {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
import {
|
||||||
|
PickerColumnCmp as IonPickerColumn
|
||||||
|
} from './components/picker-column/picker-column';
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
interface HTMLIonPickerColumnElement extends IonPickerColumn, HTMLElement {
|
||||||
|
}
|
||||||
|
var HTMLIonPickerColumnElement: {
|
||||||
|
prototype: HTMLIonPickerColumnElement;
|
||||||
|
new (): HTMLIonPickerColumnElement;
|
||||||
|
};
|
||||||
|
interface HTMLElementTagNameMap {
|
||||||
|
"ion-picker-column": HTMLIonPickerColumnElement;
|
||||||
|
}
|
||||||
|
interface ElementTagNameMap {
|
||||||
|
"ion-picker-column": HTMLIonPickerColumnElement;
|
||||||
|
}
|
||||||
|
namespace JSX {
|
||||||
|
interface IntrinsicElements {
|
||||||
|
"ion-picker-column": JSXElements.IonPickerColumnAttributes;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
namespace JSXElements {
|
||||||
|
export interface IonPickerColumnAttributes extends HTMLAttributes {
|
||||||
|
|
||||||
|
col?: PickerColumn
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
PickerController as IonPickerController
|
PickerController as IonPickerController
|
||||||
} from './components/picker-controller/picker-controller';
|
} from './components/picker-controller/picker-controller';
|
||||||
@ -2022,37 +2053,6 @@ declare global {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
import {
|
|
||||||
PickerColumnCmp as IonPickerColumn
|
|
||||||
} from './components/picker/picker-column';
|
|
||||||
|
|
||||||
declare global {
|
|
||||||
interface HTMLIonPickerColumnElement extends IonPickerColumn, HTMLElement {
|
|
||||||
}
|
|
||||||
var HTMLIonPickerColumnElement: {
|
|
||||||
prototype: HTMLIonPickerColumnElement;
|
|
||||||
new (): HTMLIonPickerColumnElement;
|
|
||||||
};
|
|
||||||
interface HTMLElementTagNameMap {
|
|
||||||
"ion-picker-column": HTMLIonPickerColumnElement;
|
|
||||||
}
|
|
||||||
interface ElementTagNameMap {
|
|
||||||
"ion-picker-column": HTMLIonPickerColumnElement;
|
|
||||||
}
|
|
||||||
namespace JSX {
|
|
||||||
interface IntrinsicElements {
|
|
||||||
"ion-picker-column": JSXElements.IonPickerColumnAttributes;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
namespace JSXElements {
|
|
||||||
export interface IonPickerColumnAttributes extends HTMLAttributes {
|
|
||||||
|
|
||||||
col?: PickerColumn
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Picker as IonPicker
|
Picker as IonPicker
|
||||||
} from './components/picker/picker';
|
} from './components/picker/picker';
|
||||||
|
25
packages/core/src/components/picker-column/readme.md
Normal file
25
packages/core/src/components/picker-column/readme.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# ion-picker-column
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Auto Generated Below -->
|
||||||
|
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
#### col
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
## Attributes
|
||||||
|
|
||||||
|
#### col
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
----------------------------------------------
|
||||||
|
|
||||||
|
*Built by [StencilJS](https://stenciljs.com/)*
|
@ -1,4 +1,4 @@
|
|||||||
# ion-picker-column
|
# ion-picker
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -7,18 +7,152 @@
|
|||||||
|
|
||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
#### col
|
#### buttons
|
||||||
|
|
||||||
any
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### columns
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### content
|
||||||
|
|
||||||
|
string
|
||||||
|
|
||||||
|
|
||||||
|
#### cssClass
|
||||||
|
|
||||||
|
string
|
||||||
|
|
||||||
|
|
||||||
|
#### dismissOnPageChange
|
||||||
|
|
||||||
|
boolean
|
||||||
|
|
||||||
|
|
||||||
|
#### duration
|
||||||
|
|
||||||
|
number
|
||||||
|
|
||||||
|
|
||||||
|
#### enableBackdropDismiss
|
||||||
|
|
||||||
|
boolean
|
||||||
|
|
||||||
|
|
||||||
|
#### enterAnimation
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### exitAnimation
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### pickerId
|
||||||
|
|
||||||
|
string
|
||||||
|
|
||||||
|
|
||||||
|
#### showBackdrop
|
||||||
|
|
||||||
|
boolean
|
||||||
|
|
||||||
|
|
||||||
## Attributes
|
## Attributes
|
||||||
|
|
||||||
#### col
|
#### buttons
|
||||||
|
|
||||||
any
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### columns
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### content
|
||||||
|
|
||||||
|
string
|
||||||
|
|
||||||
|
|
||||||
|
#### cssClass
|
||||||
|
|
||||||
|
string
|
||||||
|
|
||||||
|
|
||||||
|
#### dismissOnPageChange
|
||||||
|
|
||||||
|
boolean
|
||||||
|
|
||||||
|
|
||||||
|
#### duration
|
||||||
|
|
||||||
|
number
|
||||||
|
|
||||||
|
|
||||||
|
#### enableBackdropDismiss
|
||||||
|
|
||||||
|
boolean
|
||||||
|
|
||||||
|
|
||||||
|
#### enterAnimation
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### exitAnimation
|
||||||
|
|
||||||
|
any
|
||||||
|
|
||||||
|
|
||||||
|
#### pickerId
|
||||||
|
|
||||||
|
string
|
||||||
|
|
||||||
|
|
||||||
|
#### showBackdrop
|
||||||
|
|
||||||
|
boolean
|
||||||
|
|
||||||
|
|
||||||
|
## Events
|
||||||
|
|
||||||
|
#### ionPickerDidDismiss
|
||||||
|
|
||||||
|
|
||||||
|
#### ionPickerDidLoad
|
||||||
|
|
||||||
|
|
||||||
|
#### ionPickerDidPresent
|
||||||
|
|
||||||
|
|
||||||
|
#### ionPickerDidUnload
|
||||||
|
|
||||||
|
|
||||||
|
#### ionPickerWillDismiss
|
||||||
|
|
||||||
|
|
||||||
|
#### ionPickerWillPresent
|
||||||
|
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
#### addButton()
|
||||||
|
|
||||||
|
|
||||||
|
#### addColumn()
|
||||||
|
|
||||||
|
|
||||||
|
#### getColumn()
|
||||||
|
|
||||||
|
|
||||||
|
#### getColumns()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
||||||
|
2
packages/core/src/index.d.ts
vendored
2
packages/core/src/index.d.ts
vendored
@ -89,7 +89,7 @@ export { Navbar } from './components/navbar/navbar';
|
|||||||
export { NavController } from './components/nav-controller/nav-controller';
|
export { NavController } from './components/nav-controller/nav-controller';
|
||||||
export { Note } from './components/note/note';
|
export { Note } from './components/note/note';
|
||||||
export { Page } from './components/page/page';
|
export { Page } from './components/page/page';
|
||||||
export { PickerColumnCmp } from './components/picker/picker-column';
|
export { PickerColumnCmp } from './components/picker-column/picker-column';
|
||||||
export {
|
export {
|
||||||
Picker,
|
Picker,
|
||||||
PickerButton,
|
PickerButton,
|
||||||
|
Reference in New Issue
Block a user