In a small sauce pan, mix together all the ingredients for the sauce except the onion.
Pour in a quarter cup of water. Boil the sauce just until the sugar is melted. Taste. If you want a different balance between sweet and sour, add more sugar or lime juice. If the sauce is too strong for you, stir in more water.
Off the heat, stir in the sliced onion. Set aside.