Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BreakpointValue ¶
type BreakpointValue struct {
// contains filtered or unexported fields
}
func UseBreakpoint ¶
func UseBreakpoint() *BreakpointValue
func (*BreakpointValue) AddListener ¶
func (s *BreakpointValue) AddListener(listener listenable.Listener[breakpoint.BreakPoint])
func (*BreakpointValue) NotifyListeners ¶
func (s *BreakpointValue) NotifyListeners(newValue breakpoint.BreakPoint)
func (*BreakpointValue) RemoveListener ¶
func (s *BreakpointValue) RemoveListener(listener listenable.Listener[breakpoint.BreakPoint])
type Navigate ¶
type Navigate struct {
// contains filtered or unexported fields
}
func UseNavigate ¶
func UseNavigate() *Navigate
func (*Navigate) AddListener ¶
func (n *Navigate) AddListener(listener listenable.Listener[string])
func (*Navigate) NotifyListeners ¶
func (*Navigate) RemoveListener ¶
func (n *Navigate) RemoveListener(listener listenable.Listener[string])
type StateValue ¶
type StateValue[T any] struct { // contains filtered or unexported fields }
func UseState ¶
func UseState[T any](initialValue T) (*StateValue[T], func(T))
func (*StateValue[T]) AddListener ¶
func (s *StateValue[T]) AddListener(listener listenable.Listener[T])
func (*StateValue[T]) NotifyListeners ¶
func (s *StateValue[T]) NotifyListeners(newValue T)
func (*StateValue[T]) RemoveListener ¶
func (s *StateValue[T]) RemoveListener(listener listenable.Listener[T])
func (*StateValue[T]) Value ¶
func (s *StateValue[T]) Value() T
Click to show internal directories.
Click to hide internal directories.