Slider
Extends:
react~Component → Slider
Constructor Summary
Public Constructor | ||
public |
constructor(props: *) |
Member Summary
Public Members | ||
public |
state: * |
Method Summary
Public Methods | ||
public |
|
|
public |
componentWillReceiveProps(nextProps: *) |
|
public |
getDragX(event: *, isTouch: *): * |
|
public |
goToSlide(slideIndex: *, event: *) |
|
public |
|
|
public |
handleDragMove(event: *, isTouch: *) |
|
public |
handleDragStart(event: *, isTouch: *) |
|
public |
render(): * |
|
public |
renderArrows(): * |
|
public |
renderNav(): * |
Public Constructors
public constructor(props: *) source
Params:
Name | Type | Attribute | Description |
props | * |
Public Members
public state: * source
Public Methods
public componentWillMount() source
public componentWillReceiveProps(nextProps: *) source
Params:
Name | Type | Attribute | Description |
nextProps | * |
public getDragX(event: *, isTouch: *): * source
Params:
Name | Type | Attribute | Description |
event | * | ||
isTouch | * |
Return:
* |
public goToSlide(slideIndex: *, event: *) source
Params:
Name | Type | Attribute | Description |
slideIndex | * | ||
event | * |
public handleDragEnd() source
public handleDragMove(event: *, isTouch: *) source
Params:
Name | Type | Attribute | Description |
event | * | ||
isTouch | * |
public handleDragStart(event: *, isTouch: *) source
Params:
Name | Type | Attribute | Description |
event | * | ||
isTouch | * |