How do you cook onion loaf fried?

Ingredients:

- 2 cups all-purpose flour

- 1 teaspoon baking powder

- 1 teaspoon salt

- 1/2 teaspoon sugar

- 1 cup milk

- 2 eggs

- 1/4 cup vegetable oil

- 1 large onion, thinly sliced

Instructions:

1. In a large bowl, whisk together the flour, baking powder, salt, and sugar.

2. In a separate bowl, whisk together the milk, eggs, and vegetable oil.

3. Add the wet ingredients to the dry ingredients and whisk until just combined. Do not overmix.

4. Heat a large skillet over medium heat. Add the onion slices and cook until softened and browned, about 5 minutes.

5. Add the onion slices to the batter and stir to combine.

6. Pour the batter into the skillet and cook for 2-3 minutes per side, or until golden brown and cooked through.

7. Serve immediately with your favorite dipping sauce.