Creates an absolute positioned div with styles specified by [style]. TODO: retusns Element
(&self, style: HashMap<String, String>)
| 495 | /// Creates an absolute positioned div with styles specified by [style]. |
| 496 | // TODO: retusns Element |
| 497 | pub fn create_tooltip_or_legend(&self, style: HashMap<String, String>) -> Option<bool> { |
| 498 | // return DivElement() |
| 499 | // ..style.background_color = style["background_color"] |
| 500 | // ..style.borderColor = style["borderColor"] |
| 501 | // ..style.borderStyle = "solid" |
| 502 | // ..style.borderWidth = "${style["borderWidth"]}px" |
| 503 | // ..style.color = style["color"] |
| 504 | // ..style.fontFamily = style["fontFamily"] |
| 505 | // ..style.font_size = "${style["font_size"]}px" |
| 506 | // ..style.fontStyle = style["fontStyle"] |
| 507 | // ..style.position = "absolute"; |
| 508 | unimplemented!() |
| 509 | } |
| 510 | |
| 511 | // TODO: return Element |
| 512 | pub fn create_tooltip_or_legend_item(&self, color: String, text: String) -> Option<bool> { |
nothing calls this directly
no outgoing calls
no test coverage detected