@quartic/bokehjs
Version:
Interactive, novel data visualization
15 lines (11 loc) • 401 B
text/coffeescript
import {Markup, MarkupView} from "./markup"
import {p} from "core/dom"
export class ParagraphView extends MarkupView
render: () ->
super()
# This overrides default user-agent styling and helps layout work
content = p({style: {margin: 0}}, @model.text)
export class Paragraph extends Markup
type: "Paragraph"
default_view: ParagraphView