To cook diced onions in a frying pan on the stove.
Coat the bottom of the pan with 1 1/2 tsp olive oil. Heat the pan on medium high heat until the oil is simmering. Add the diced onion and stir to coat the onions with the oil. Spread the onions out evenly over the pan cover and let cook, stirring occasionally.