All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.dirigible.ide-monaco.embeddable.editor.js Maven / Gradle / Ivy

There is a newer version: 10.6.37
Show newest version
/*
 * Copyright (c) 2010-2024 SAP and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v20.html
 *
 * Contributors:
 *   SAP - initial API and implementation
 */
// /webjars/monaco-editor/min/vs/base/browser/ui/codicons/codicon/codicon.ttf
var require = { paths: { vs: '/webjars/monaco-editor/min/vs' } };
angular.module('codeEditor', ['ideMessageHub']).directive('codeEditor', ['messageHub', function (messageHub) {
    /**
     * readOnly: Boolean - Sets the editor mode. Default is 'false'.
     * codeLang: String - The language of the code. Default is 'javascript'.
     * actions: Array - An array of Monaco actions.
     * onModelChange: Function - Callback function triggered when the model gets changed. Does not trigger when the model is changed from the outside.
     */
    return {
        restrict: 'E',
        transclude: false,
        replace: true,
        require: '?ngModel',
        scope: {
            readOnly: '
`, } }])



© 2015 - 2025 Weber Informatics LLC | Privacy Policy