JS lib: added canvas attributes parameter to HTMLCanvasElement::getContext

This commit is contained in:
nbilyk
2015-02-15 14:05:26 -08:00
committed by Zalim Bashorov
parent f4411773c3
commit 6afe64dd14
+1 -1
View File
@@ -6,7 +6,7 @@ import org.w3c.dom.Element
public native trait HTMLCanvasElement : HTMLElement {
public var width: Double
public var height: Double
public fun getContext(context: String): CanvasContext?
public fun getContext(contextId: String, vararg attributes: Any): CanvasContext?
public fun toDataURL(string: String, args: Any): String
public fun toDataURL(): String
public fun toDataURL(string: String): String