How has Donald Trump's position on Syria changed?

The US has carried out a missile attack against an air base in Syria in response to a suspected chemical weapons attack on a rebel-held town.

Until this week, President Donald Trump opposed taking action against the Assad government in Syria.