Skip to content

0.1.0 selector

Ivan S Glazunov edited this page Jan 22, 2015 · 1 revision

string

Simple string sintax for classes, id and attributes of tag.

Example

'.class-.fdsaDss.pngClas-gfdreDS#Id1#Id2[attr1=http://google.com/images/logo.png][attr3=".com/images/logo.png",attr4 "attr6"][alt=#item]'

Attributes
{
	class: 'class- fdsaDss pngClas-gfdreDS',
	id: 'Id2',
	attr1: 'http://google.com/images/logo.png',
	attr3: '.com/images/logo.png',
	attr4: null,
	'"attr6"': null,
	alt: '#item'
}
HTML

If whe use div element.

<div class="class- fdsaDss pngClas-gfdreDS" id="Id2" attr1="http://google.com/images/logo.png" attr3=".com/images/logo.png" attr4 "attr6" alt="#item"></div>
Clone this wiki locally