We can change the active tiles easily via the tiles attribute. For example, we could change them when the user press a button, like in this demo.
You can see a standalone example of this code here.