Skip to content

Docs: Be more explicit on the dragStartPredicate return #544

@karmaral

Description

@karmaral

Hello!
The docs could be more explicit in regards to the return type of dragStartPredicate.
Currently it says

..it will be called until you return true or false.

I only realized this was implying that not returning true or false would re-run the function by examining the touch delay example.

Looking back I see there's just empty returns on the examples, but for at-a-glance reads, perhaps it would add value to have it more explicitly defined in the description.

Could be something as simple as highlighting until.

Do you agree? Or is it too fine grained?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions