/* This file contains proprietary software owned by Motorola Mobility, Inc.
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
*/ /** @requires montage/core/core @requires montage/ui/component */ var Montage = require("montage/core/core").Montage, Component = require("montage/ui/component").Component; exports.BindingHudOption = Montage.create(Component, { _title: { value: null }, title: { get: function() { return this._title; }, set: function(val) { this._title = val; this.needsDraw = true; } }, bound: { value: false }, prepareForDraw: { value: function() { // Set Up Listener for click and propagate up to Binding View } }, draw: { value:function() { if(this.bound) { this.element.classList.add("bound"); } else { this.element.classList.remove("bound"); } // if(this.bindings.length > 0) { // this.element.classList.add("bound"); // } else { // this.element.classList.remove("bound"); // } } } });