Phone Simulator

View code

Use

HTML

<rg-phone-sim></rg-phone-sim>

JavaScript

var tags = riot.mount('rg-phone-sim', {
  phonesim: {
    url: 'http://riotjs.com/'
  }
})

The component will then wrap your website in an iframe and an image of a phone.