A novel strategy to directly fabricate flexible hollow nanofibers with tunable luminescence-electricity-magnetism trifunctionality using one-pot electrospinning.