pub fn create_attribute(value: Option<Value>) -> Result<Value, Error>
Expand description

Creates an HTML attribute Object as Attribute.

@deprecated not used anymore in Twig, but perhaps we could keep.

{{ create_attribute({'id': 'bar', class': ['foo', 'bar']}) }}