12345678910111213 |
- <div {!! $attributes !!}><div class="da-tree"></div></div>
- <script>
- LA.ready(function () {
- var opts = {!! json_encode($options) !!}, tree = $('#{{$id}}').find('.da-tree');
- opts.core.data = {!! json_encode($nodes) !!};
- tree.on("loaded.jstree", function () {
- tree.jstree('open_all');
- }).jstree(opts);
- });
- </script>
|