Component Alert with prop.sync example

Simple Vuejs component example. It allows you to set the state of the component from the outside or from within and it will be reflected on both sides.

codepen

See the Pen Vue - Component Alert with prop.sync example by Roman Kuba (@Codebryo) on CodePen.