Skip to content

0.2.0 type TSelector

Ivan S Glazunov edited this page Feb 20, 2015 · 3 revisions

type TSelector = 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]'

{
	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'
}
Clone this wiki locally