Does anybody know what this electronic component is?
It's a tilt switch.
It has a ball in it which breaks a contact when it rolls away or moves away from contacts.
Try measuring the resistance with it in various orientations

The image below is copied from here



This page says about one similar:


Tiny tilt switch type BT411-2 has a built in rolling ball (instead of mercury) so it doesn’t have the environmental health hazards that mercury tilt switches have.
These and similar types are used in vibration car alarms, sneakers that blink, toys, etc.






Many here 



Re your link:


  Strøm: 2mA maks.
  Størrelse: housing Ø5.2 × 14mm (leads + 15mm)
  Maks. temperature: 100°C
  non-active contact: 10 Mohm
  active contact: +/- 5 ohm  


2 mA current rating.
10 megohm open circuit
5 Ohms operated.
5.2 mm dia x 14mm long with 15mm leads.
Maximum temperature 100 C.