         return NSStringFromSelector(action)
     }
 
-    open func addTarget(_ target: AnyObject?, action: Selector, forControlEvents controlEvents: SNControlEvents) {
+    open func addTarget(_ target: AnyObject?, action: Selector, for controlEvents: SNControlEvents) {
         self.target = target
         self.action = action
     }

open class SNLabel : SNView {
    public required init(frame: CGRect) {
        super.init(frame: frame)
        self.cssAttributes["font-size"] = "20px"
    }
    open var text = ""


    public init(rawValue: UInt) {
        self.rawValue = rawValue
    }
    public static let touchUpInside = SNControlEvents(rawValue: 1)
}

open class SNButton : SNView {
    public required init(frame: CGRect) {
        super.init(frame: frame)
        self.cssAttributes["font-size"] = "17px"
        self.cssAttributes["font-align"] = "center"
        self.cssAttributes["color"] = "#FFFFFF"
    }
    var normalTitle = "Button"
    open func setTitle(_ title: String, for state: SNControlState) {
        self.normalTitle = title
    }

