Last active
January 5, 2021 17:54
-
-
Save bjoerntx/668a9aa75135d02e26e28457d52c2423 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
// use the JavaScript API | |
// https://docs.textcontrol.com/47c66f67/ | |
TXTextControl.addEventListener("textControlLoaded", function() { | |
var sel = TXTextControl.selection; | |
sel.setText("Welcome to DS Server", function() { | |
sel.setStart(11); | |
sel.setLength(9); | |
sel.setBold(true); | |
sel.setFontSize(30); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment