mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
28 lines
635 B
JavaScript
28 lines
635 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import Component from '@glimmer/component';
|
|
import { action } from '@ember/object';
|
|
|
|
/**
|
|
* @module JsonEditor
|
|
*
|
|
* @example
|
|
* ```js
|
|
* <JsonEditor @title="Policy" @value={{codemirror.string}} @valueUpdated={{ action "codemirrorUpdate"}} />
|
|
* ```
|
|
*
|
|
* @param {string} [verticalPosition] - vertical position specification (above, below)
|
|
* @param {string} [horizontalPosition] - horizontal position specification (center, auto-right)
|
|
|
|
*/
|
|
|
|
export default class InfoTooltip extends Component {
|
|
@action
|
|
preventSubmit(e) {
|
|
e.preventDefault();
|
|
}
|
|
}
|