Documentation ¶
Index ¶
- type TimerDef
- func (t TimerDef) ComponentWillMount()
- func (t TimerDef) ComponentWillUnmount()
- func (t TimerDef) GetInitialStateIntf() react.State
- func (t TimerDef) Render() react.Element
- func (t TimerDef) RendersElement() react.Element
- func (t TimerDef) SetState(state TimerState)
- func (t TimerDef) State() TimerState
- type TimerElem
- type TimerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimerDef ¶
type TimerDef struct {
react.ComponentDef
}
TimerDef is the definition of the Timer component
func (TimerDef) ComponentWillMount ¶
func (t TimerDef) ComponentWillMount()
ComponentWillMount is a React lifecycle method for the Timer component
func (TimerDef) ComponentWillUnmount ¶
func (t TimerDef) ComponentWillUnmount()
func (TimerDef) GetInitialStateIntf ¶
GetInitialStateIntf is an auto-generated proxy to GetInitialState
func (TimerDef) RendersElement ¶
func (TimerDef) SetState ¶
func (t TimerDef) SetState(state TimerState)
SetState is an auto-generated proxy proxy to update the state for the Timer component. SetState does not immediately mutate t.State() but creates a pending state transition.
func (TimerDef) State ¶
func (t TimerDef) State() TimerState
State is an auto-generated proxy to return the current state in use for the render of the Timer component
type TimerState ¶
type TimerState struct {
// contains filtered or unexported fields
}
TimerState is the state type for the Timer component
func (TimerState) EqualsIntf ¶
func (t TimerState) EqualsIntf(val react.State) bool
func (TimerState) IsState ¶
func (t TimerState) IsState()
IsState is an auto-generated definition so that TimerState implements the myitcv.io/react.State interface.