Autodetection of options passed by Element's Properties

Add labels on the exemple
List can also be passed as option object (JavaScript side)
Autodetection of options passed by Element's Properties