Open benlenarts opened 14 years ago
Imagine an element property 'type' that returns an instance of the most specific matching Element.Type, ie:
var Link = new Element.Type('a'); myAElement.get('type'); // returns a Link.Instance
This would be a nice addition, but I'm not sure it's really necessary.
Imagine an element property 'type' that returns an instance of the most specific matching Element.Type, ie:
This would be a nice addition, but I'm not sure it's really necessary.