timer

package
v0.0.0-...-5fef39c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: MIT, BSD-3-Clause Imports: 3 Imported by: 6

Documentation

Index

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

func (t TimerDef) GetInitialStateIntf() react.State

GetInitialStateIntf is an auto-generated proxy to GetInitialState

func (TimerDef) Render

func (t TimerDef) Render() react.Element

Render renders the Timer component

func (TimerDef) RendersElement

func (t TimerDef) RendersElement() react.Element

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 TimerElem

type TimerElem struct {
	react.Element
}

func Timer

func Timer() *TimerElem

Timer creates instances 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL