myitcv.io: myitcv.io/react/examples/timer Index | Files

package timer

import "myitcv.io/react/examples/timer"

Index

Package Files

gen_Timer_reactGen.go timer.go

type TimerDef Uses

type TimerDef struct {
    react.ComponentDef
}

TimerDef is the definition of the Timer component

func (TimerDef) ComponentWillMount Uses

func (t TimerDef) ComponentWillMount()

ComponentWillMount is a React lifecycle method for the Timer component

func (TimerDef) ComponentWillUnmount Uses

func (t TimerDef) ComponentWillUnmount()

func (TimerDef) GetInitialStateIntf Uses

func (t TimerDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (TimerDef) Render Uses

func (t TimerDef) Render() react.Element

Render renders the Timer component

func (TimerDef) RendersElement Uses

func (t TimerDef) RendersElement() react.Element

func (TimerDef) SetState Uses

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 Uses

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 TimerElem Uses

type TimerElem struct {
    react.Element
}

func Timer Uses

func Timer() *TimerElem

Timer creates instances of the Timer component

type TimerState Uses

type TimerState struct {
    // contains filtered or unexported fields
}

TimerState is the state type for the Timer component

func (TimerState) EqualsIntf Uses

func (t TimerState) EqualsIntf(val react.State) bool

func (TimerState) IsState Uses

func (t TimerState) IsState()

IsState is an auto-generated definition so that TimerState implements the myitcv.io/react.State interface.

Package timer imports 3 packages (graph) and is imported by 3 packages. Updated 2018-08-09. Refresh now. Tools for package owners.