dingo-core-0.0.3.3: Dingo is a Rich Internet Application platform based on the Warp web server.

Dingo.Selector

Synopsis

Documentation

class RefinableSelector a whereSource

A selector that can be refined.

Methods

with :: a -> Qualifier -> aSource

(.>*.) :: (ToSimpleSelector a, ToSelector b) => a -> b -> SelectorSource

Descendant combinator.

(.+.) :: (ToSimpleSelector a, ToSelector b) => a -> b -> SelectorSource

Adjacent combinator.

(.>.) :: (ToSimpleSelector a, ToSelector b) => a -> b -> SelectorSource

Child combinator.

(.~.) :: (ToSimpleSelector a, ToSelector b) => a -> b -> SelectorSource

Following combinator.

anyElement :: SimpleSelectorSource

Match any element.

element :: Text -> SimpleSelectorSource

Match a particular element type.

withId :: RefinableSelector a => a -> Text -> aSource

Match by HTML/XML element ID.

withClass :: RefinableSelector a => a -> Text -> aSource

Match by HTML class.

withAttribute :: RefinableSelector a => a -> Text -> aSource

Match by attribute presence

withAttributeValue :: RefinableSelector a => a -> Text -> Text -> aSource

Match by attribute value.

withAttributeValueElement :: RefinableSelector a => a -> Text -> Text -> aSource

Match by value contained in a space-separated attribute value.

withAttributeValuePrefix :: RefinableSelector a => a -> Text -> Text -> aSource

Match by value at the left of a hyphen-separated attribute value.