Socket
Book a DemoInstallSign in
Socket

ember-cli-jsoneditor

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-jsoneditor

The default blueprint for ember-cli addons.

0.2.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Ember CLI JSON Editor

npm version

This addon is an ember wrapper around JSON Editor.

Supported browsers: Chrome, Firefox, Safari, Opera, Internet Explorer 9+.

json editor   code editor

Documentation

Install

ember install ember-cli-jsoneditor

Usage

{{json-editor json=json onChange=(action (mut json))}}

Possible Options

  • ace
  • ajv
  • name: 'JSONEditor'
  • mode: 'tree'
  • history: true
  • search: true
  • disabled: true
  • indentation: 2
  • escapeUnicode: false
  • theme: 'ace/theme/jsoneditor'
  • modes: ['tree', 'view', 'form', 'text', 'code']

disabled is an option that is only supported for this addon. If set to true, it will set mode to view and modes to ['view'].

Possible Actions

  • onChange(json)
  • onError(err)
  • onModeChange(newMode, oldMode)
  • onEditable(node)

Keywords

ember-addon

FAQs

Package last updated on 09 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.