Created
February 13, 2018 22:19
-
-
Save alejandro-du/d3310ff1272c97b0ce33d404d929452f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vaadin.starter.skeleton; | |
import com.vaadin.flow.component.Tag; | |
import com.vaadin.flow.component.dependency.HtmlImport; | |
import com.vaadin.flow.component.html.Div; | |
@Tag("juicy-ace-editor") | |
@HtmlImport("bower_components/juicy-ace-editor/juicy-ace-editor.html") | |
public class JuicyAceEditor extends Div { | |
public void setMode(String mode) { | |
getElement().setAttribute("mode", mode); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment