Skip to content

Commit

Permalink
export plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
rexrainbow committed Sep 28, 2024
1 parent 2a1409d commit a25cf48
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions dist/rextrees.js
Original file line number Diff line number Diff line change
Expand Up @@ -34114,19 +34114,19 @@
this
.on('expand.start', function () {
toggleButton.emit('expand.start', toggleButton);
FireTreesSizerEvent(this, 'tree.expand.start');
FireTreesSizerEvent(this, 'expand.start');
}, this)
.on('expand.complete', function () {
toggleButton.emit('expand.complete', toggleButton);
FireTreesSizerEvent(this, 'tree.expand.complete');
FireTreesSizerEvent(this, 'expand.complete');
})
.on('collapse.start', function () {
toggleButton.emit('collapse.start', toggleButton);
FireTreesSizerEvent(this, 'tree.collapse.start');
FireTreesSizerEvent(this, 'collapse.start');
})
.on('collapse.complete', function () {
toggleButton.emit('collapse.complete', toggleButton);
FireTreesSizerEvent(this, 'tree.collapse.complete');
FireTreesSizerEvent(this, 'collapse.complete');
});

// Run this callback after adding to parent tree
Expand Down
2 changes: 1 addition & 1 deletion dist/rextrees.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/rexuiplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -68910,19 +68910,19 @@ scene.load.script('chartjs', 'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.
this
.on('expand.start', function () {
toggleButton.emit('expand.start', toggleButton);
FireTreesSizerEvent(this, 'tree.expand.start');
FireTreesSizerEvent(this, 'expand.start');
}, this)
.on('expand.complete', function () {
toggleButton.emit('expand.complete', toggleButton);
FireTreesSizerEvent(this, 'tree.expand.complete');
FireTreesSizerEvent(this, 'expand.complete');
})
.on('collapse.start', function () {
toggleButton.emit('collapse.start', toggleButton);
FireTreesSizerEvent(this, 'tree.collapse.start');
FireTreesSizerEvent(this, 'collapse.start');
})
.on('collapse.complete', function () {
toggleButton.emit('collapse.complete', toggleButton);
FireTreesSizerEvent(this, 'tree.collapse.complete');
FireTreesSizerEvent(this, 'collapse.complete');
});

// Run this callback after adding to parent tree
Expand Down
2 changes: 1 addition & 1 deletion dist/rexuiplugin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/site/search/search_index.json

Large diffs are not rendered by default.

Binary file modified docs/site/sitemap.xml.gz
Binary file not shown.
10 changes: 5 additions & 5 deletions docs/site/ui-trees/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10207,7 +10207,7 @@
<h1>Trees</h1>

<h2 id="introduction">Introduction<a class="headerlink" href="#introduction" title="Permanent link">&para;</a></h2>
<p>A container with trees and leaf-nodes</p>
<p>A container with trees and leaf-nodes.</p>
<ul>
<li>Author: Rex</li>
<li>Game object</li>
Expand Down Expand Up @@ -11009,22 +11009,22 @@ <h4 id="events">Events<a class="headerlink" href="#events" title="Permanent link
<h3 id="events_1">Events<a class="headerlink" href="#events_1" title="Permanent link">&para;</a></h3>
<ul>
<li>On tree expand-start
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;tree.expand.start&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;expand.start&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>

<span class="p">})</span>
</code></pre></div></li>
<li>On tree expand-complete
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;tree.expand.complete&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;expand.complete&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>

<span class="p">})</span>
</code></pre></div></li>
<li>On tree collapse-start
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;tree.collapse.start&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;collapse.start&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>

<span class="p">})</span>
</code></pre></div></li>
<li>On tree collapse-complete
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;tree.collapse.complete&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>
<div class="highlight"><pre><span></span><code><span class="nx">trees</span><span class="p">.</span><span class="nx">on</span><span class="p">(</span><span class="s1">&#39;collapse.complete&#39;</span><span class="p">,</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">tree</span><span class="p">){</span>

<span class="p">})</span>
</code></pre></div></li>
Expand Down

0 comments on commit a25cf48

Please sign in to comment.