CSEventProperty

open class CSEventProperty<T> : CSObject, CSEventPropertyProtocol where T : Equatable

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(onApply: ((T) -> ())? = nil)
  • Undocumented

    Declaration

    Swift

    public var value: T { get set }
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func onChange(_ function: @escaping ArgFunc<T>) -> CSRegistration
  • Undocumented

    Declaration

    Swift

    public var description: String { get }
  • Undocumented

    Declaration

    Swift

    @discardableResult
    public func apply() -> Self
  • Undocumented

    Declaration

    Swift

    open func onValueChanged(_ newValue: T, fire: Boolean = true)