mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: build output targets
This commit is contained in:
@@ -703,6 +703,7 @@ ion-item-options,event,ionSwipe,any,true
|
||||
|
||||
ion-item-sliding,none
|
||||
ion-item-sliding,prop,disabled,boolean,false,false,false
|
||||
ion-item-sliding,prop,reveal,"cover" | "push",'push',false,false
|
||||
ion-item-sliding,method,close,close() => Promise<void>
|
||||
ion-item-sliding,method,closeOpened,closeOpened() => Promise<boolean>
|
||||
ion-item-sliding,method,getOpenAmount,getOpenAmount() => Promise<number>
|
||||
|
||||
8
core/src/components.d.ts
vendored
8
core/src/components.d.ts
vendored
@@ -1463,6 +1463,10 @@ export namespace Components {
|
||||
* @param side The side of the options to open. If a side is not provided, it will open the first set of options it finds within the item.
|
||||
*/
|
||||
"open": (side: Side | undefined) => Promise<void>;
|
||||
/**
|
||||
* The reveal animation for the item options.
|
||||
*/
|
||||
"reveal": 'push' | 'cover';
|
||||
}
|
||||
interface IonLabel {
|
||||
/**
|
||||
@@ -6197,6 +6201,10 @@ declare namespace LocalJSX {
|
||||
* Emitted when the sliding position changes.
|
||||
*/
|
||||
"onIonDrag"?: (event: IonItemSlidingCustomEvent<any>) => void;
|
||||
/**
|
||||
* The reveal animation for the item options.
|
||||
*/
|
||||
"reveal"?: 'push' | 'cover';
|
||||
}
|
||||
interface IonLabel {
|
||||
/**
|
||||
|
||||
@@ -1130,7 +1130,7 @@ export declare interface IonItemOptions extends Components.IonItemOptions {
|
||||
|
||||
|
||||
@ProxyCmp({
|
||||
inputs: ['disabled'],
|
||||
inputs: ['disabled', 'reveal'],
|
||||
methods: ['getOpenAmount', 'getSlidingRatio', 'open', 'close', 'closeOpened']
|
||||
})
|
||||
@Component({
|
||||
@@ -1138,7 +1138,7 @@ export declare interface IonItemOptions extends Components.IonItemOptions {
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
template: '<ng-content></ng-content>',
|
||||
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
||||
inputs: ['disabled'],
|
||||
inputs: ['disabled', 'reveal'],
|
||||
})
|
||||
export class IonItemSliding {
|
||||
protected el: HTMLElement;
|
||||
|
||||
@@ -1103,7 +1103,7 @@ export declare interface IonItemOptions extends Components.IonItemOptions {
|
||||
|
||||
@ProxyCmp({
|
||||
defineCustomElementFn: defineIonItemSliding,
|
||||
inputs: ['disabled'],
|
||||
inputs: ['disabled', 'reveal'],
|
||||
methods: ['getOpenAmount', 'getSlidingRatio', 'open', 'close', 'closeOpened']
|
||||
})
|
||||
@Component({
|
||||
@@ -1111,7 +1111,7 @@ export declare interface IonItemOptions extends Components.IonItemOptions {
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
template: '<ng-content></ng-content>',
|
||||
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
||||
inputs: ['disabled'],
|
||||
inputs: ['disabled', 'reveal'],
|
||||
standalone: true
|
||||
})
|
||||
export class IonItemSliding {
|
||||
|
||||
@@ -491,6 +491,7 @@ export const IonItemOptions = /*@__PURE__*/ defineContainer<JSX.IonItemOptions>(
|
||||
|
||||
export const IonItemSliding = /*@__PURE__*/ defineContainer<JSX.IonItemSliding>('ion-item-sliding', defineIonItemSliding, [
|
||||
'disabled',
|
||||
'reveal',
|
||||
'ionDrag'
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user