Button
public final class Button : UIButton, AmytisViewType, ButtonJSExport, ExtendableView
Undocumented
-
//////////////////// extendable view protocol
Declaration
Swift
public var params: [String : Any] -
Undocumented
Declaration
Swift
public var id: String { get set } -
Undocumented
Declaration
Swift
public var frame2: Frame { get set } -
Undocumented
Declaration
Swift
public var parent: AmytisView { get set } -
Undocumented
Declaration
Swift
public var viewXML: XML { get set } -
Undocumented
Declaration
Swift
public func requiredInit() -
Undocumented
Declaration
Swift
@objc public func reRenderWithChild(_ xml: String) -
Undocumented
Declaration
Swift
@objc public func reRender(_ params: [String : Any]) -
Undocumented
Declaration
Swift
@objc public func reCalculateFrame(_ animated: Bool) -
Undocumented
Declaration
Swift
@objc public func animateToFrame(_ string: String, _ time: Double = 0.5, _ completion: JSValue? = nil) -
////////////////////////////////////////////
Declaration
Swift
public func text(_ string: String) -> Button -
Undocumented
Declaration
Swift
public func textColor(_ string: String) -> Button -
Undocumented
Declaration
Swift
public func font(_ string: String) -> Button -
////////////////////////////////////////////
Declaration
Swift
public var aview: AmytisView { get } -
Undocumented
Declaration
Swift
public var clicked: (() -> Void)? -
Undocumented
Declaration
Swift
public func clicked(_ action: @escaping (() -> Void)) -
Undocumented
Declaration
Swift
public func onClick(_ action: JSValue) -
Undocumented
Declaration
Swift
override public init(frame: CGRect) -
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder) -
Undocumented
Declaration
Swift
public func config() -
Undocumented
Declaration
Swift
public func setSource(_ source: String) -
Undocumented
Declaration
Swift
public func action(_ event: UIControl.Event, _ action: @escaping (() -> Void))
Button Class Reference