Hazaar\Html
Style
Summary
MethodsPropertiesConstants
No constants
Properties
$current
$current
$selectors
$selectors
Methods
__call()
__call($method, $args)
__construct()
__construct($selector = null, $elements = Array ( ) )
__get()
__get($key)
__set()
__set($key, $value)
__tostring()
__tostring()
asBlock()
asBlock()
asParameterList()
asParameterList()
Static
em()
em($value)
offsetExists()
offsetExists($offset)
Array Access Methods
offsetGet()
offsetGet($offset)
offsetSet()
offsetSet($offset, $value)
offsetUnset()
offsetUnset($offset)
Static
px()
px($value)
select()
select($selector)
set()
set()

Set a style element or group of elements on a selector

This method has three possible methods of use.

set( Array ) - Set multiple elements on the current selector

set( element_name, element_value ) - Set a single element on the current selector.

set( selector, Array ) - Set multiple elements on the requested selector