Represents the possible phases of event propagation for an UIEvent which is very similar to how it works in a browser.