Skip to content

0.1.0 proto Tag

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

[new] ([selector], [attributes]) => instance: Tag > Contents > Prototype

Methods of generating tags and handling arguments.

._name

string

Inherited. Can be reset.

.name

(name: string) => this

Set _name in flow.

._attributes

attributes ≈ [name: string]: string

Inherited. Can be reset.

.parseAttributesArguments

(...arguments: [attributes]*) => this

.parseSelectorArguments

(...arguments: [selector]*) => this

.parseSelectorAndAttributesArguments

(...arguments: [selector]|attributes]) => this

Clone this wiki locally