Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

feature: element property 'type' #3

@benlenarts

Description

@benlenarts

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions