Skip to content

Drop undocumented [0] grabs #10

Description

@ryanve

verge methods that accept (element [, cushion]) expect element to be native DOM element. Under the hood the 1.x code actually allows element to be an array-like object, in which case the first item is used. This was never a recommended syntax. I had kept it in there for back support just in case. Does anyone use this syntax? If not, I think we could safely remove it in a later minor or major version.

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