-
Notifications
You must be signed in to change notification settings - Fork 857
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f8c058
commit a364d87
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
docs/src/joint/api/dia/ElementView/prototype/findPortNode.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<pre class="docs-method-signature"><code>elementView.findPortNode(portId)</code></pre> | ||
<p>Return the port element of this ElementView that is identified by <code>portId</code> (i.e. an SVGElement within <code>this.el</code> which has <code>'port': portId</code>, an SVGElement referenced by <code>portRoot</code> selector).</p> | ||
|
||
<p>If the ElementView does not have a port identified by <code>portId</code>, return <code>null</code>.</p> | ||
|
||
<pre class="docs-method-signature"><code>elementView.findPortNode(portId, selector)</code></pre> | ||
<p>If <code>selector</code> is also specified, return the subelement of the port element that is identified by <code>selector</code>, according to the rules of the <code>elementView.findBySelector()</code> <a href="#dia.ElementView.prototype.findBySelector">function</a>.</p> | ||
|
||
<p>If the port element does not have a subelement that matches <code>selector</code>, return <code>null</code>.</p> |