4 packages found

    Description

    A wrapper that calls event.preventDefault() for you.

    Keywords

    Publisher

    published 1.0.15 years ago
    M
    Q
    P

    Description

    Takes a function and returns a function that calls preventDefault on the last argument of the function

    Keywords

    Publisher

    published 1.0.05 years ago
    M
    Q
    P

    Description

    Prevent-default decorator for DOM listeners

    Keywords

    Publisher

    published 1.0.04 years ago
    M
    Q
    P

    Description

    Wrap an event handler so that it will e.preventDefault() for you when available. (i.e. also works if you call it directly)

    Keywords

    Publisher

    published 1.0.06 years ago
    M
    Q
    P