Phone Simulator

View code

Use

HTML

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

JavaScript

var tags = riot.mount('rg-phone-sim', {
  phonesim: {
    url: 'https://riotgear.js.org/'
  }
})

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