Home Reference Source
public class | source

DeleteButton

Extends:

react~React.ComponentBaseView → DeleteButton

Hold to delete button. Eschews traditional "Are you sure" box by forcing the user to hold the button for about 10 seconds before deleteing.

Parent component should provide onDelete property to handle when deletion is confirmed

Constructor Summary

Public Constructor
public

constructor(props: *)

Member Summary

Public Members
public

state: *

Method Summary

Public Methods
public
public
public

handleDown(e: *)

public
public

handleUp(e: *)

public

render(): *

Inherited Summary

From class BaseView
public

Public Constructors

public constructor(props: *) source

Params:

NameTypeAttributeDescription
props *

Public Members

public state: * source

Public Methods

public componentWillMount() source

public handleComplete() source

public handleDown(e: *) source

Params:

NameTypeAttributeDescription
e *

public handleInterval() source

public handleUp(e: *) source

Params:

NameTypeAttributeDescription
e *

public render(): * source

Return:

*