We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MathML.get/set_ID
1 parent eccaf6d commit e01e774Copy full SHA for e01e774
MathML.types.ps1xml
@@ -10,6 +10,31 @@
10
11
</Script>
12
</ScriptMethod>
13
+ <ScriptProperty>
14
+ <Name>ID</Name>
15
+ <GetScriptBlock>
16
+ <#
17
+.SYNOPSIS
18
+ Gets a MathML id
19
+.DESCRIPTION
20
+ Gets the ID attribute on a MathML element.
21
+
22
+ MathML does not need to have an identifier, but it certainly can help.
23
+#>
24
+return $this.Math.id
25
+ </GetScriptBlock>
26
+ <SetScriptBlock>
27
28
29
+ Sets a MathML id
30
31
+ Sets the ID attribute on a MathML element.
32
33
34
35
+$this.Math.setAttribute("id", "$args")
36
+ </SetScriptBlock>
37
+ </ScriptProperty>
38
<ScriptProperty>
39
<Name>SVG</Name>
40
<GetScriptBlock>
0 commit comments