Last active
March 13, 2017 15:57
-
-
Save bjoerntx/aaa616deccf119f39fb2fb3adc232660 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
// process received format options | |
function inputFormatChanged(id, value, stringValue) { | |
switch (id) { | |
// handle the "Bold" button | |
case TXTextControl.InputFormatProperty.Bold: | |
if (value == true) | |
$("#bold").prop("checked", true); | |
else | |
$("#bold").prop("checked", false); | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment