\r\n \r\n You can show and hide the alert by means of active.sync
and a Boolean bind as value
\r\n The property to determine if the alert can be closed is closable
\r\n\r\n {{ !active1 ? 'Open Alert' : 'Close Alert' }} 1\r\n {{ !active2 ? 'Open Alert' : 'Close Alert' }} 2\r\n\r\n \r\n Chupa chups topping bonbon. Jelly-o toffee I love. Sweet I love wafer I love wafer.\r\n \r\n\r\n You can also change the icon used for the close buton on the alerts
\r\n \r\n \r\n \r\n Chupa chups topping bonbon. Jelly-o toffee I love. Sweet I love wafer I love wafer.\r\n \r\n\r\n \r\n<vs-button @click="active1=!active1">{{ !active1 ? 'Open Alert' : 'Close Alert' }} 1</vs-button>\r\n<vs-button @click="active2=!active2">{{ !active2 ? 'Open Alert' : 'Close Alert' }} 2</vs-button>\r\n\r\n<vs-alert :active.sync="active1" closable icon-pack="feather" close-icon="icon-x">\r\n Chupa chups topping bonbon. Jelly-o toffee I love. Sweet I love wafer I love wafer.\r\n</vs-alert>\r\n\r\n<vs-alert :active.sync="active2" closable close-icon="icon-x-circle" icon-pack="feather">\r\n Chupa chups topping bonbon. Jelly-o toffee I love. Sweet I love wafer I love wafer.\r\n</vs-alert>\r\n \r\n\r\n \r\n