This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
ideas:color-object [2014/07/07 18:32] – fix return values tabatkins | ideas:color-object [2014/07/08 23:15] – Change to explicit "toString" method. tabatkins | ||
---|---|---|---|
Line 15: | Line 15: | ||
static RGBAColor fromHex(optional HexColorInit color); | static RGBAColor fromHex(optional HexColorInit color); | ||
| | ||
- | | + | DOMString |
static readonly attribute Map serializationTypes; | static readonly attribute Map serializationTypes; | ||
}; | }; | ||
- | The stringifier | + | The toString() method |
Authors can define their own color formats by adding a fromFoo() to RGBAColor, a toFoo() to RGBAColor.prototype, | Authors can define their own color formats by adding a fromFoo() to RGBAColor, a toFoo() to RGBAColor.prototype, |