@senx/warpview-editor-lite
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Warp View Editor lite

This web components embed a WarpScript editor dedicated to Warp 10™.

Usage

npm i @senx/warpview-editor-lite --save

yarn add @senx/warpview-editor-lite

bower install senx-warpview-editor-lite --save
<html>
<head>
  <title>Test</title>
  <script src="https://unpkg.com/@senx/warpview-editor-lite@x.x.x/dist/warpview-editor-lite.js"></script>
</head>
<body>
  <warp-view-editor-lite height-line=18 width-px=600 theme="dark">
      2 2 +
   </warp-view-editor-lite>
</body>
</html>

Integrations

See here

CSS vars

Attributes

Name Type Default Description
theme string 'light' Editor theme (light or dark)
warpscript string '' WarpScript to edit (optional, could be inside HTML tag)
widthPx number Fixed width
heightPx number Fixed height
heightLine number Fixed number of lines

Package Sidebar

Install

npm i @senx/warpview-editor-lite

Weekly Downloads

0

Version

0.0.2

License

Apache-2.0

Unpacked Size

22.7 MB

Total Files

24

Last publish

Collaborators

  • xavmarin
  • giwi
  • pi-r-p