Lines="true|false": Whether to show line numbers to the left of the editor. Indent="4": How many spaces a block should be indented. Highlight-on-fly="true|false": Errors and warnings check for each change in the editor. If false => Press ctrl-space to activate autocompletion. Default to kotlin.ĭata-min-compiler-version="1.0.7": Minimum target Kotlin compiler versionĭata-autocomplete="true|false": Get completion on every key press. Mode="kotlin|js|java|groovy|xml|c|shell|swift|obj-c": Different languages styles. Theme="idea|darcula|default": Editor IntelliJ IDEA themes. GetInstance(instance) - Getting playground state API.Īuto-indent="true|false": Whether to use the context-sensitive indentation. MountNode - new node with runnable editor. TargetNode - node with plain text before component initialization. Use for target platform js.Ĭallback(targetNode, mountNode) - Is called after playground's united. GetJsCode(code) - Is called after compilation Kotlin to JS. OnOpenConsole - Is called after the console's opened. OnCloseConsole - Is called after the console's closed. OnTestFailed - Is called after all tests failed. OnTestPassed - Is called after all tests passed. OnChange(code) - Fires every time the content of the editor is changed. Function onChange ( code ) playground ( '.selector', options )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |