@quartic/bokehjs
Version:
Interactive, novel data visualization
21 lines (16 loc) • 560 B
text/coffeescript
import {LayoutDOM, LayoutDOMView} from "../layouts/layout_dom"
import {JQueryable} from "./jqueryable"
export class WidgetView extends LayoutDOMView
className: "bk-widget"
render: () ->
# LayoutDOMView sets up lots of helpful things, but
# it's render method is not suitable for widgets - who
# should provide their own.
if @model.height
if @model.width
export class Widget extends LayoutDOM
type: "Widget"
default_view: WidgetView