StyleSheet
Generated.swift:2007class StyleSheet
class StyleSheet
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)
class var constructor: JSFunction? { get }
@ReadWriteAttribute var disabled: Bool { get set }
@ReadonlyAttribute var href: String? { get }
let jsObject: JSObject
@ReadonlyAttribute var media: MediaList { get }
@ReadonlyAttribute var ownerNode: Element_or_ProcessingInstruction? { get }
@ReadonlyAttribute var parentStyleSheet: CSSStyleSheet? { get }
@ReadonlyAttribute var title: String? { get }
@ReadonlyAttribute var type: String { 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 CSSStyleSheet