• Topic
  • Discussion
  • OATWikiWeb.OATDOCcolor(Last) -- Owiki? , 2016-08-19 14:58:50 Edit owiki 2016-08-19 14:58:50

    color.js

    Displays a color picker.

    Objects

    OAT.Color()

    Instantiates OAT.Color object.

    Methods

    OAT.Color::pick(x, y, callback)

    Shows the picker at [x, y]. When user picks a color, callback(color) function is called. Color format is #rgb.


    Referenced by...