Allow listSelector to be used as a function

For consistency with `el`, `id`, `className`, `attributes`, etc.