- name: "blerg.Title",
- kind: "Control",
- style: "float: left; width: 40%",
- published: {
- section: ""
- },
- handlers: {
- onSetTitle: "setTitle"
- },
- components: [
- {kind: "Image", classes: "logo", src: "images/blerglogo.png", attributes: {width: 125, height: 122}},
- {tag: "h1", components: [
- {kind: "blerg.Link", href: "#/", content: "Blërg!"}
- ]},
- {tag: "h2", components: [
- {name: "section", tag: "span"}
- ]}
- ],
- create: function() {
- this.inherited(arguments);
- },
- sectionChanged: function() {
- this.$.section.setContent(this.section);
- },
- setTitle: function(inSender, inEvent) {
- if (inEvent.section)
- this.setSection(inEvent.section);
- }
+ name: "blerg.Title",
+ kind: "Control",
+ classes: "blerg-title",
+ published: {
+ section: ""
+ },
+ handlers: {
+ onSetTitle: "setTitle"
+ },
+ components: [
+ {kind: "Image", classes: "logo", src: "images/blerglogo.png", attributes: {width: 125, height: 122}},
+ {tag: "h1", components: [
+ {kind: "blerg.Link", href: "/#/", content: "Blërg!"}
+ ]},
+ {tag: "h2", components: [
+ {name: "section", tag: "span"}
+ ]}
+ ],
+ create: function() {
+ this.inherited(arguments);
+ },
+ sectionChanged: function() {
+ this.$.section.setContent(this.section);
+ },
+ setTitle: function(inSender, inEvent) {
+ if (inEvent.section)
+ this.setSection(inEvent.section);
+ }