main.cesium.SvgPathBindingHandler.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* A Knockout binding handler that creates a DOM element for a single SVG path.
* This binding handler will be registered as cesiumSvgPath.
*
* The parameter to this binding is an object with the following properties:
*
* - path: The SVG path as a string.
* - width: The width of the SVG path with no transformations applied.
* - height: The height of the SVG path with no transformations applied.
* - css: Optional. A string containing additional CSS classes to apply to the SVG. 'cesium-svgPath-svg' is always applied.
* ```
* // Create an SVG as a child of a div
*
*
* // parameters can be observable from the view model
*
*
* // or the whole object can be observable from the view model
*
* ```
* @see Online Documentation
*/
@JsName("\$cesium__SvgPathBindingHandler")
external object SvgPathBindingHandler {
fun register()
}