summaryrefslogtreecommitdiff
path: root/widgets/iframe/iframe.coffee
blob: e674e6bce763553d001fd2c9460b1c28932e4036 (plain)
1
2
3
4
5
6
7
class Dashing.Iframe extends Dashing.Widget

ready: ->
  $(@node).find(".iframe").attr('src', @get('src'))

onData: (data) ->
  $(@node).find(".iframe").attr('src', data.src)