project init

This commit is contained in:
limqhz
2022-11-17 17:05:46 +08:00
parent 597b107cf7
commit eec0e5575f
108 changed files with 4483 additions and 36 deletions

37
components/swiper/swiper-nav.d.ts vendored Normal file
View File

@@ -0,0 +1,37 @@
import { SuperComponent, RelationsOptions } from '../common/src/index';
import { NavTypes } from './common/constants';
declare type NavOptions = {
index: number;
total: number;
direction: boolean;
paginationPosition: string;
};
export default class SwiperNav extends SuperComponent {
externalClasses: string[];
properties: {
type: {
type: StringConstructor;
value: NavTypes;
};
minShowNum: {
type: NumberConstructor;
value: number;
};
hasNavBtn: {
type: BooleanConstructor;
value: boolean;
};
};
relations: RelationsOptions;
data: {
index: number;
total: number;
direction: string;
prefix: string;
classPrefix: string;
};
ready(): void;
onChange(opt: NavOptions): void;
nav(e: any): void;
}
export {};