CSSRule
Generated.swift:1103class CSSRule
class CSSRule
import CSSOM
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
required init(unsafelyWrapping jsObject: JSObject)
static let CHARSET_RULE: UInt16
static let FONT_FACE_RULE: UInt16
static let IMPORT_RULE: UInt16
static let MARGIN_RULE: UInt16
static let MEDIA_RULE: UInt16
static let NAMESPACE_RULE: UInt16
static let PAGE_RULE: UInt16
static let STYLE_RULE: UInt16
class var constructor: JSFunction? { get }
@ReadWriteAttribute var cssText: String { get set }
let jsObject: JSObject
@ReadonlyAttribute var parentRule: CSSRule? { get }
@ReadonlyAttribute var parentStyleSheet: CSSStyleSheet? { get }
@ReadonlyAttribute var type: UInt16 { get }
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
var description: String { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue
class CSSGroupingRule
class CSSImportRule
class CSSMarginRule
class CSSNamespaceRule
class CSSStyleRule