Digitized mini optofluidic element and its application to ophthalmic lenses for presbyopia correction