Wash the cabbage and remove the outer leaves. Quarter through the stem and remove the dense core with a sharp knife and discard.
Finely slice the cabbage into thin shreds. Alternatively you can use a mandolin or a food processor to shred the cabbage. Place into a large bowl.
Now sprinkle the salt over the cabbage. With your hands kneed the salt into the cabbage for approximately 5 minutes. Then leave to rest for at least 20 minutes. (This process is necessary to draw out the excess water from the cabbage. Otherwise, your coleslaw might end up soggy).
In the meantime, finely cube the onions.
Heat up 2 teaspoon of oil in a frying pan and fry the onions until they begin to brown. Remove from the heat and leave to cool.
Mix together the vinegar, oil, pepper, carraway seeds and sugar in a jug. Mix well. Then add the cooled down onions.
Strain the cabbage in a colander to remove any excess water. Place in a salad bowl and pour over the dressing. Mix well and then leave to rest for approximately 2 hours.
Before serving adjust the seasoning to taste. You can always add more salt or pepper. Serve at room temperature.