In this Article I will run through how to use some custom AngularJS javascript and css to add anything to a form.
Table Of Contents
- List
- Grid
- Date Pickers
- Charts
- Custom - Checkers (this)
- Page Source
- ...
Firstly we need some Angular code,
Merge Text - add the source
LogicBase.Components.Default.Process.MergeTextComponent |
---|
https://www.symantec.com/connect/articles/merge-text |
In the MergeText add the CSS and JS.
CSS
<style type="text/css">
...
</style>
JS
<script type="text/javascript">
...
</script>
Finally add the HTML
<html ng-app='ngCheckers'>
...
</html>
Include Html
LogicBase.Components.FormBuilder.AdvancedComponents.Include.IncludeHtmlComponent |
---|
https://www.symantec.com/connect/articles/includehtml |
Use the Merge Text as the "Text To Include"
Set the Property in the "General" tab to "Use Angular JS".
Run it in the browser and enjoy your game of Checkers.