{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-unused-do-bind #-}
import Control.Applicative ((<$>), (<*>))
import Data.Maybe (isJust)
import Data.Text (Text)
import Text.Blaze ((!))
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-unused-do-bind #-}
import Control.Applicative ((<$>), (<*>))
import Data.Maybe (isJust)
import Data.Text (Text)
import Text.Blaze ((!))
The flexbox module has been kicking around for quite some time. There are 3 different specifications that have been implemented in the major browsers. This is an overview of how to cover all of them. If you're interested in how to use flexbox, there are many fine articles out there (some have been linked below).
attrTests: { | |
testAccept: function(_el) { | |
return !!(_el.accept === '') && !!(_el.accept !== 'undefined'); | |
}, | |
testAutocomplete: function(_el){ | |
return !!(_el.autocomplete === '') && !!(_el.autocomplete !== 'undefined'); | |
}, | |
testAutofocus: function(_el){ |