Function: parseAnchoredTarget()
function parseAnchoredTarget(hash):
| {
anchor: string;
target: DiagramTarget;
}
| null;
Docs anchors: '#<anchor>&<target keys>' or '#<anchor>' — the first segment, when it has no '=', is the anchor. Returns null when the hash names no anchor.
Parameters
hash
string
Returns
| {
anchor: string;
target: DiagramTarget;
}
| null