Directory

← Back

ace-widget

ace-widget for vaadin flow 14+

Author

Rating

Popularity

100+

Ace Editor for Vaadin Flow 14+

If there are bugs or you have a suggestion for the component, you can write to us on GitHub.

Sample code

		AceEditor aceEditor = new AceEditor();
		aceEditor.setTheme(AceTheme.github);
		aceEditor.setMode(AceMode.java);
		aceEditor.setFontSize(15);
	    aceEditor.setHeight("100%");
		 aceEditor.setWidth("100%");

		aceEditor.setReadOnly(false);
		aceEditor.setShowInvisibles(true);
		aceEditor.setShowGutter(false);
		aceEditor.setShowPrintMargin(false);
		aceEditor.setDisplayIndentGuides(false);
		aceEditor.setUseWorker(false);
		aceEditor.addValueChangeListener(e -> {
			System.out.println(aceEditor.getValue());
		});

		aceEditor.setSofttabs(false);
		aceEditor.setTabSize(25);
		aceEditor.setWrap(false);
		aceEditor.setMinlines(2);
		aceEditor.setMaxlines(10);
		aceEditor.setPlaceholder("DEMO");
		aceEditor.setAutoComplete(true);
		aceEditor.setCustomAutoCompletion(new String[] { "TEST", "TEST2", "TEST3" });
		aceEditor.setHighlightActiveLine(false);
		aceEditor.setHighlightSelectedWord(false);
		aceEditor.setMinHeight("200px");

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Updated for Vaadin 24+

Released
2024-02-16
Maturity
BETA
License
MIT License

Compatibility

Framework
Vaadin 24+
Vaadin 23 in 1.4.5-Beta
Vaadin 14 in 1.4.5-Beta
Browser
Browser Independent

ace-widget - Vaadin Add-on Directory

ace-widget for vaadin flow 14+ ace-widget - Vaadin Add-on Directory
Ace Editor for Vaadin Flow 14+ If there are bugs or you have a suggestion for the component, you can write to us on GitHub.
Online