Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically sort a DefineList #2

Open
bmomberger-bitovi opened this issue Oct 25, 2018 · 0 comments
Open

Automatically sort a DefineList #2

bmomberger-bitovi opened this issue Oct 25, 2018 · 0 comments

Comments

@bmomberger-bitovi
Copy link
Owner

bmomberger-bitovi commented Oct 25, 2018

can.List had the comparator property for automatic sorting.

With DefineList, you may be able to create the same effect by sorting after every "add" and "set" event (but watch out for event loops).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant