How to use the @hpcc-js/codemirror.CSSEditor function in @hpcc-js/codemirror

To help you get started, we’ve selected a few @hpcc-js/codemirror examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / demos / gallery / samples / codemirror / CSSEditor.js View on Github external
import { CSSEditor } from "@hpcc-js/codemirror";

new CSSEditor()
    .css(`\
body {
    margin: 0;
    padding: 15px;
}    
#target {
    position: relative;
    width: 100%;
    height: calc(100vh - 32px);
    border: 1px solid #ed1c24;
}
    `)
    .target("target")
    .render()
    ;

@hpcc-js/codemirror

hpcc-js - Viz Code Mirror

Apache-2.0
Latest version published 1 month ago

Package Health Score

78 / 100
Full package analysis

Similar packages