Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern CSS_INHERIT :: forall a. (Eq a, Num a) => a
- pattern CSS_PRIMITIVE_VALUE :: forall a. (Eq a, Num a) => a
- pattern CSS_VALUE_LIST :: forall a. (Eq a, Num a) => a
- pattern CSS_CUSTOM :: forall a. (Eq a, Num a) => a
- setCssText :: (MonadDOM m, IsCSSValue self, ToJSString val) => self -> Maybe val -> m ()
- getCssText :: (MonadDOM m, IsCSSValue self, FromJSString result) => self -> m (Maybe result)
- getCssTextUnsafe :: (MonadDOM m, IsCSSValue self, HasCallStack, FromJSString result) => self -> m result
- getCssTextUnchecked :: (MonadDOM m, IsCSSValue self, FromJSString result) => self -> m result
- getCssValueType :: (MonadDOM m, IsCSSValue self) => self -> m Word
- newtype CSSValue = CSSValue {
- unCSSValue :: JSVal
- gTypeCSSValue :: JSM GType
- class IsGObject o => IsCSSValue o
- toCSSValue :: IsCSSValue o => o -> CSSValue
Documentation
pattern CSS_INHERIT :: forall a. (Eq a, Num a) => a Source #
pattern CSS_PRIMITIVE_VALUE :: forall a. (Eq a, Num a) => a Source #
pattern CSS_VALUE_LIST :: forall a. (Eq a, Num a) => a Source #
pattern CSS_CUSTOM :: forall a. (Eq a, Num a) => a Source #
setCssText :: (MonadDOM m, IsCSSValue self, ToJSString val) => self -> Maybe val -> m () Source #
getCssText :: (MonadDOM m, IsCSSValue self, FromJSString result) => self -> m (Maybe result) Source #
getCssTextUnsafe :: (MonadDOM m, IsCSSValue self, HasCallStack, FromJSString result) => self -> m result Source #
getCssTextUnchecked :: (MonadDOM m, IsCSSValue self, FromJSString result) => self -> m result Source #
getCssValueType :: (MonadDOM m, IsCSSValue self) => self -> m Word Source #
Functions for this inteface are in JSDOM.CSSValue.
Instances
PToJSVal CSSValue Source # | |
Defined in JSDOM.Types | |
PFromJSVal CSSValue Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> CSSValue # | |
ToJSVal CSSValue Source # | |
FromJSVal CSSValue Source # | |
MakeObject CSSValue Source # | |
Defined in JSDOM.Types makeObject :: CSSValue -> JSM Object # | |
IsCSSValue CSSValue Source # | |
Defined in JSDOM.Types | |
IsGObject CSSValue Source # | |
Defined in JSDOM.Types |
gTypeCSSValue :: JSM GType Source #
class IsGObject o => IsCSSValue o Source #
Instances
IsCSSValue CSSValueList Source # | |
Defined in JSDOM.Types | |
IsCSSValue CSSValue Source # | |
Defined in JSDOM.Types | |
IsCSSValue CSSPrimitiveValue Source # | |
Defined in JSDOM.Types |
toCSSValue :: IsCSSValue o => o -> CSSValue Source #