The example was written in 2016, and does not work with current version. Can you please update it? It doesn't, for instance, implemente dragenter.