trait Element extends Object
- Annotations
- @RawJSType() @native()
- Alphabetic
- By Inheritance
- Element
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(parent: Object): Element
Add the element to the renderer canvas.
Add the element to the renderer canvas.
- parent
The element can be added to a
g(group) element.
Example: -
def
animate(attributes: Object, animation: Object): Element
Apply numeric attributes to the SVG/VML element by animation.
Apply numeric attributes to the SVG/VML element by animation. See Element.attr() for more information on setting attributes.
Example: -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
attr(hash: Object): Element
Apply attributes to the SVG/VML elements.
Apply attributes to the SVG/VML elements. These attributes for the most parts correspond to SVG, but some are specific to Highcharts, like
zIndexandrotation.In order to set the rotation center for
rotation, set x and y to 0 and usetranslateXandtranslateYattributes to position the element instead.Attributes frequently used in Highcharts are
fill,stroke,stroke-width.- hash
A set of attributes to apply.
Example: -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
css(hash: Object): Element
Apply some CSS properties to the element
Apply some CSS properties to the element
- hash
The object literal of CSS properties to apply. Properties should be hyphenated, not camelCased.
Example: -
def
destroy(): Unit
Destroy the element and free up memory
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBBox: Object
Get the bounding box of the element
Get the bounding box of the element
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
on(eventType: String, handler: Function): Element
Apply an event handler to the element
Apply an event handler to the element
- eventType
The event type to attach, for example 'click', 'mouseover', 'touch'.
- handler
The event handler function.
Example: -
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toFront(): Element
Bring the element to the front.
Bring the element to the front. Alternatively, a zIndex attribute can be given.
Example: -
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )