Summary
We've finished our tour of the interaction components of the library, by looking at the selectable and sortable components. Similar to the other modules that we looked at before, both have a wide range of properties and methods that allow us to configure and control their behavior and appearance in both simple and more complex implementations.
We started off the chapter with a look at a simple, default implementation of the selectable with no configuration to see the most basic level of functionality added by the component.
We first looked at the default implementation of a selectable and then moved on to look at the configurable options, along the numerous callback properties, which can be used to perform different actions at different points in an interaction.
Next we looked at how the performance of a page can be improved when there are a large number of selectables on the page, and how the single unique method exposed by the component, refresh, is used.
Lastly we looked at a fun...