src/js/widgets/helloWorldWidget.js
author veltr
Wed, 18 Jan 2012 10:21:53 +0100
branchpopcorn-port
changeset 658 cfaf0986d22b
parent 655 b1e2dfc7a740
child 661 48c1beea7b1c
permissions -rw-r--r--
Merge with bf65c3364d2db4ab904fe576de1a9d471e9923a2

IriSP.HelloWorldWidget = function(Popcorn, config, Serializer) {
  IriSP.Widget.call(this, Popcorn, config, Serializer);
}

IriSP.HelloWorldWidget.prototype = new IriSP.Widget();

IriSP.HelloWorldWidget.prototype.draw = function() {
    this.selector
        .html('Hello, world')
        .css({
            "text-align" : "center",
            "padding": "10px 0",
            "font-size" : "14px",
        });
        
    console.log(this);
}