object
Spectrum extends Module with JavaScriptCaller with StorageComponent[Spectrum, Input]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
apply(tag: Input): Spectrum
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
componentIdentifier: String
-
def
create(t: Input): Spectrum
-
def
dependencies: List[InterfaceWithDefault]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
get(t: Input): Option[Spectrum]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
implements: List[Interface]
-
def
init[S <: Session](website: Website[S]): Unit
-
def
injectScript[S <: Session](webpage: Webpage[S], script: String): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
def
load[S <: Session](webpage: Webpage[S]): Unit
-
def
name: String
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
set(t: Input, value: Spectrum): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
implicit
def
tag2Spectrum(tag: Input): Spectrum
-
def
toString(): String
-
def
value2String(v: Any): String
-
def
version: Version
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from StorageComponent[Spectrum, Input]
Inherited from Module
Inherited from Interface
Inherited from AnyRef
Inherited from Any
Spectrum is a wrapper around the the jQuery Colorpicker found here: http://bgrins.github.io/spectrum/
Most of the documentation is duplicated directly from the JavaScript documentation.
Spectrum is a StorageComponent, so activating it on an Input can be done by just calling Spectrum(input). You can invoke the method multiple times and it will return the same instance for the same input.