@@ -500,13 +500,13 @@ node-id-1: { //Unique node id for each node
500
500
501
501
Each node is identified by a unique ID.
502
502
503
- <div class = " split" >
503
+ <div className = " split" >
504
504
<div >
505
- <div class = " title" >Node example</div >
505
+ <div className = " title" >Node example</div >
506
506
<img src = { imageFile } />
507
507
</div >
508
508
<div >
509
- <div class = " title" >Node data example</div >
509
+ <div className = " title" >Node data example</div >
510
510
<pre >
511
511
<code >{ ` tony: { //Unique node ID
512
512
fData: {
@@ -524,13 +524,13 @@ Each node is identified by a unique ID.
524
524
525
525
Nodes are represented through templates, you can pass custom markup to create a custom nodes.
526
526
527
- <div class = " split" >
527
+ <div className = " split" >
528
528
<div >
529
- <div class = " title" >Node example</div >
529
+ <div className = " title" >Node example</div >
530
530
<img src = { nodeTemplateImg } />
531
531
</div >
532
532
<div >
533
- <div class = " title" >Node data example</div >
533
+ <div className = " title" >Node data example</div >
534
534
<pre >
535
535
<code >{ ` tony: {
536
536
fNodeTemplate:\` <f-div direction="secondary" width="100%" height="hug-content" align="top-left">
@@ -552,13 +552,13 @@ The data required by each node needs to be present in the node schema.
552
552
553
553
###### Note: Use “\$\{ node.data.key}” to access fData in your node template.
554
554
555
- <div class = " split" >
555
+ <div className = " split" >
556
556
<div >
557
- <div class = " title" >Node example</div >
557
+ <div className = " title" >Node example</div >
558
558
<img src = { templateDataImg } />
559
559
</div >
560
560
<div >
561
- <div class = " title" >Node data example</div >
561
+ <div className = " title" >Node data example</div >
562
562
<pre >
563
563
<code >{ ` tony: {
564
564
fData: { //Data goes here
@@ -577,13 +577,13 @@ The data required by each node needs to be present in the node schema.
577
577
578
578
Each node can have fChildren.
579
579
580
- <div class = " split" >
580
+ <div className = " split" >
581
581
<div >
582
- <div class = " title" >Node example</div >
582
+ <div className = " title" >Node example</div >
583
583
<img src = { childrenImg } />
584
584
</div >
585
585
<div >
586
- <div class = " title" >Node data example</div >
586
+ <div className = " title" >Node data example</div >
587
587
<pre >
588
588
<code >
589
589
{ ` tony: { //Unique node ID
@@ -613,12 +613,12 @@ Boolean that defines whether node children will be visible on load or not.
613
613
614
614
###### Note: On load, all node children are collpased/hidden. Clicking on a node will reveal its children
615
615
616
- <div class = " split" >
616
+ <div className = " split" >
617
617
<div >
618
- <div class = " title" >Node example</div >
618
+ <div className = " title" >Node example</div >
619
619
</div >
620
620
<div >
621
- <div class = " title" >Node data example</div >
621
+ <div className = " title" >Node data example</div >
622
622
<pre >add code here</pre >
623
623
</div >
624
624
</div >
0 commit comments