Phone Simulator
View codeUse
HTML
<rg-phone-sim></rg-phone-sim>
JavaScript
var tags = riot.mount('rg-phone-sim', {
phonesim: {
url: 'https://riotgear2.github.io/components/alerts/'
}
})
The component will then wrap your website in an iframe and an image of a phone.