CSSPageRule class

CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE).

MDN Reference

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CSSPageRule()
factory

Properties

charsetRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
cssRules CSSRuleList

Available on CSSGroupingRule, provided by the CSSGroupingRule$Typings extension

MDN Reference
no setter
cssText String

Available on CSSRule, provided by the CSSRule$Typings extension

MDN Reference
getter/setter pair
deleteRule ↔ void Function(num)

Available on CSSGroupingRule, provided by the CSSGroupingRule$Typings extension

getter/setter pair
fontFaceRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
hashCode int
The hash code for this object.
no setterinherited
importRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
insertRule num Function(String, [num?])

Available on CSSGroupingRule, provided by the CSSGroupingRule$Typings extension

getter/setter pair
keyframeRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
keyframesRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
mediaRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
namespaceRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
pageRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
parentRule CSSRule?

Available on CSSRule, provided by the CSSRule$Typings extension

MDN Reference
no setter
parentStyleSheet CSSStyleSheet?

Available on CSSRule, provided by the CSSRule$Typings extension

MDN Reference
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectorText String

Available on CSSPageRule, provided by the CSSPageRule$Typings extension

MDN Reference
getter/setter pair
style CSSStyleDeclaration

Available on CSSPageRule, provided by the CSSPageRule$Typings extension

MDN Reference
no setter
styleRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
supportsRule num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter
type num

Available on CSSRule, provided by the CSSRule$Typings extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited