Skip to content

Add "change" as KeyboardEvent #6

@rentalhost

Description

@rentalhost

Like:

    createEvent: function(type, options) {
        if (/^mouse(over|out|down|up|move)|(dbl)?click$/.test(type)) {
            return this.mouseEvent(type, options);
        } else if (/^key(up|down|press)|change$/.test(type)) {
            return this.keyboardEvent(type, options);
        }
    },

It'll support: object.simulate("change").

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