Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122572521
Carousel.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 20, 13:55
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Jul 22, 13:55 (2 d)
Engine
blob
Format
Raw Data
Handle
27503589
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Carousel.d.ts
View Options
import * as React from 'react';
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
export type CarouselVariant = 'dark' | string;
export interface CarouselRef {
element?: HTMLElement;
prev: (e?: React.SyntheticEvent) => void;
next: (e?: React.SyntheticEvent) => void;
}
export interface CarouselProps extends BsPrefixProps, Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'> {
slide?: boolean;
fade?: boolean;
controls?: boolean;
indicators?: boolean;
indicatorLabels?: string[];
activeIndex?: number;
onSelect?: (eventKey: number, event: Record<string, unknown> | null) => void;
defaultActiveIndex?: number;
onSlide?: (eventKey: number, direction: 'start' | 'end') => void;
onSlid?: (eventKey: number, direction: 'start' | 'end') => void;
interval?: number | null;
keyboard?: boolean;
pause?: 'hover' | false;
wrap?: boolean;
touch?: boolean;
prevIcon?: React.ReactNode;
prevLabel?: React.ReactNode;
nextIcon?: React.ReactNode;
nextLabel?: React.ReactNode;
ref?: React.Ref<CarouselRef>;
variant?: CarouselVariant;
}
declare const _default: BsPrefixRefForwardingComponent<"div", CarouselProps> & {
Caption: BsPrefixRefForwardingComponent<"div", unknown>;
Item: BsPrefixRefForwardingComponent<"div", import("./CarouselItem").CarouselItemProps>;
};
export default _default;
Event Timeline
Log In to Comment