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.
1 parent 918f442 commit 44370e3Copy full SHA for 44370e3
1 file changed
Gradient.types.ps1xml
@@ -7,6 +7,18 @@
7
<Name>GradientTypes</Name>
8
<ReferencedMemberName>GradientType</ReferencedMemberName>
9
</AliasProperty>
10
+ <ScriptMethod>
11
+ <Name>ToString</Name>
12
+ <Script>
13
+ <#
14
+.SYNOPSIS
15
+ Stringifies the gradient
16
+.DESCRIPTION
17
+ Gets the gradient as a string. By default, returns the CSS gradient.
18
+#>
19
+return "$($this.CSS)"
20
+ </Script>
21
+ </ScriptMethod>
22
<ScriptProperty>
23
<Name>CSS</Name>
24
<GetScriptBlock>
0 commit comments