mirror of
https://github.com/nasa/openmct.git
synced 2025-06-21 08:39:59 +00:00
[Fixed Position] Add text color property
Add a property to the Fixed Position toolbar to set text color, WTD-881.
This commit is contained in:
@ -20,6 +20,13 @@ define(
|
||||
function TextProxy(element, index, elements) {
|
||||
var proxy = new BoxProxy(element, index, elements);
|
||||
|
||||
/**
|
||||
* Get and/or set the text color of this element.
|
||||
* @param {string} [color] the new text color (if setting)
|
||||
* @returns {string} the text color
|
||||
*/
|
||||
proxy.color = new AccessorMutator(element, 'color');
|
||||
|
||||
return proxy;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user