Documentation ¶
Index ¶
- type Bool
- func (v *Bool) False()
- func (v *Bool) Get() bool
- func (v *Bool) GetAndToggle() bool
- func (v *Bool) HasOnChange(eventName string) bool
- func (v *Bool) HasOnChangeAsync(eventName string) bool
- func (v *Bool) HasOnFalse(eventName string) bool
- func (v *Bool) HasOnFalseAsync(eventName string) bool
- func (v *Bool) HasOnTrue(eventName string) bool
- func (v *Bool) HasOnTrueAsync(eventName string) bool
- func (v *Bool) IfFalseSetTrue() bool
- func (v *Bool) IfTrueSetFalse() bool
- func (v *Bool) OnChange(eventName string, onChange OnChange) bool
- func (v *Bool) OnChangeAsync(eventName string, onChange OnChange) bool
- func (v *Bool) OnChangeAsyncRemove(eventName string) *Bool
- func (v *Bool) OnChangeRemove(eventName string) *Bool
- func (v *Bool) OnFalse(eventName string, onFalse OnFalse) bool
- func (v *Bool) OnFalseAsync(eventName string, onFalse OnFalse) bool
- func (v *Bool) OnFalseAsyncRemove(eventName string) *Bool
- func (v *Bool) OnFalseRemove(eventName string) *Bool
- func (v *Bool) OnTrue(eventName string, onTrue OnTrue) bool
- func (v *Bool) OnTrueAsync(eventName string, onTrue OnTrue) bool
- func (v *Bool) OnTrueAsyncRemove(eventName string) *Bool
- func (v *Bool) OnTrueRemove(eventName string) *Bool
- func (v *Bool) RWGet(callback func(v *Bool)) bool
- func (v *Bool) Set(value bool)
- func (v *Bool) True()
- func (v *Bool) WaitForFalse() *Bool
- func (v *Bool) WaitForTrue() *Bool
- func (v *Bool) WaitUntilFalse() *Bool
- func (v *Bool) WaitUntilTrue() *Bool
- type OnChange
- type OnChangeAsync
- type OnFalse
- type OnTrue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
func NewContext ¶
func (*Bool) GetAndToggle ¶
func (*Bool) HasOnChange ¶
func (*Bool) HasOnChangeAsync ¶
func (*Bool) HasOnFalse ¶
func (*Bool) HasOnFalseAsync ¶
func (*Bool) HasOnTrueAsync ¶
func (*Bool) IfFalseSetTrue ¶
func (*Bool) IfTrueSetFalse ¶
func (*Bool) OnChangeAsync ¶
OnChangeAsync -> when the value has changed!
func (*Bool) OnChangeAsyncRemove ¶
func (*Bool) OnChangeRemove ¶
func (*Bool) OnFalseAsync ¶
OnFalse -> when false happens!
func (*Bool) OnFalseAsyncRemove ¶
func (*Bool) OnFalseRemove ¶
func (*Bool) OnTrueAsync ¶
OnTrue -> when True happens!
func (*Bool) OnTrueAsyncRemove ¶
func (*Bool) OnTrueRemove ¶
func (*Bool) WaitForFalse ¶
func (*Bool) WaitForTrue ¶
func (*Bool) WaitUntilFalse ¶
WaitUntilFalse -> If it's not false, it will wait until is it! If it's false already, it will go futher without waiting!
func (*Bool) WaitUntilTrue ¶
WaitUntilTrue -> If it's not true, it will wait until is it! If it's true already, it will go futher without waiting!
type OnChangeAsync ¶
Click to show internal directories.
Click to hide internal directories.