It probably has an electronic circuit that is effectively a time switch, a momentary physical switch triggers it then the circuitry holds the switch on for a pre-determined period. You may even be able to buy such devices off eBay it is amazing the things you can get for a couple of quid these days
Happily collecting things all my life...