This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 32484c377c border styles
32484c377c is described below
commit 32484c377cea62fd1bf308edcfa3ec605d4f2e5a
Author: Harbs <[email protected]>
AuthorDate: Tue Feb 24 17:57:24 2026 +0200
border styles
---
frameworks/projects/Style/README.md | 3 +-
.../royale/style/stylebeads/OverflowStyle.as | 8 ++--
.../royale/style/stylebeads/PositionStyle.as | 2 +-
.../royale/style/stylebeads/SingleStyleBase.as | 2 +-
.../{PositionStyle.as => border/BorderWidth.as} | 45 ++++++++++++----------
.../BorderWidthBlock.as} | 35 ++++-------------
.../BorderWidthBlockEnd.as} | 35 ++++-------------
.../BorderWidthBlockStart.as} | 35 ++++-------------
.../BorderWidthBottom.as} | 35 ++++-------------
.../BorderWidthInline.as} | 35 ++++-------------
.../BorderWidthInlineEnd.as} | 35 ++++-------------
.../BorderWidthInlineStart.as} | 35 ++++-------------
.../BorderWidthLeft.as} | 35 ++++-------------
.../BorderWidthRight.as} | 35 ++++-------------
.../{PositionStyle.as => border/BorderWidthTop.as} | 35 ++++-------------
15 files changed, 102 insertions(+), 308 deletions(-)
diff --git a/frameworks/projects/Style/README.md
b/frameworks/projects/Style/README.md
index cd1d189f28..28105a5827 100644
--- a/frameworks/projects/Style/README.md
+++ b/frameworks/projects/Style/README.md
@@ -158,4 +158,5 @@ This project is under active development. APIs and naming
may evolve as style be
### To work on later:
- (min/max-)inline-size
- (min/max-)block-size
-- Add support for normal rgb for browsers which don't support oklch (i.e. CEP)
Maybe?
\ No newline at end of file
+- Add support for normal rgb for browsers which don't support oklch (i.e. CEP)
Maybe?
+- border "between" https://tailwindcss.com/docs/border-width
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/OverflowStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/OverflowStyle.as
index 51c3746a09..ff579d72e9 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/OverflowStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/OverflowStyle.as
@@ -64,11 +64,11 @@ package org.apache.royale.style.stylebeads
{
var s:String = selectorName;
if (overflowX == overflowY)
- return ["." + s + "-" + overflowX];
+ return [s + "-" + overflowX];
return [
- "." + s + "-x-" + overflowX,
- "." + s + "-y-" + overflowY
+ s + "-x-" + overflowX,
+ s + "-y-" + overflowY
];
}
@@ -76,7 +76,7 @@ package org.apache.royale.style.stylebeads
{
var s:String = selectorName;
if (overflowX == overflowY)
- return ["." + s + ":" + overflowX +
";"];
+ return [s + ":" + overflowX + ";"];
return [
s + "-x:" + overflowX + ";",
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
index b26f03b2ce..68f99301bb 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
@@ -40,7 +40,7 @@ package org.apache.royale.style.stylebeads
override public function get selectors():Array
{
- return ["." + value];
+ return [value];
}
override public function get rules():Array
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/SingleStyleBase.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/SingleStyleBase.as
index 85e9cf210b..cc65bea977 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/SingleStyleBase.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/SingleStyleBase.as
@@ -71,7 +71,7 @@ package org.apache.royale.style.stylebeads
{
if(!calculatedSelector)
return "";
- return "." + selectorPrefix + "-" + calculatedSelector;
+ return selectorPrefix + "-" + calculatedSelector;
}
public function get rule():String
{
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidth.as
similarity index 54%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidth.as
index b26f03b2ce..f273244f33 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidth.as
@@ -16,37 +16,40 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ import org.apache.royale.style.stylebeads.SingleStyleBase;
+ import org.apache.royale.debugging.assert;
+ import org.apache.royale.style.util.ThemeManager;
+ import org.apache.royale.style.util.StyleTheme;
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidth extends SingleStyleBase
{
- public function PositionStyle()
+ public function BorderWidth(selectorPrefix:String = "border",
rulePrefix:String = "border-width")
{
- super();
+ super(selectorPrefix, rulePrefix);
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
+ override public function set value(value:*):void
{
_value = value;
+ calculatedRuleValue = value;
+ calculatedSelector = sanitizeSelector(value);
}
-
- override public function get selectors():Array
+ override public function get selector():String
{
- return ["." + value];
+ if(!calculatedSelector)
+ return selectorPrefix;
+
+ return super.selector;
}
-
- override public function get rules():Array
+ override public function get rule():String
{
- return ["position:" + value + unit + ";"];
+ if(!calculatedRuleValue)
+ return "1px";
+
+ return super.rule;
}
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlock.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlock.as
index b26f03b2ce..d46a9a01f3 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlock.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthBlock extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthBlock()
{
- super();
+ super("border-y", "border-block-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlockEnd.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlockEnd.as
index b26f03b2ce..7717d9b4bd 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlockEnd.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthBlockEnd extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthBlockEnd()
{
- super();
+ super("border-be", "border-block-end-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlockStart.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlockStart.as
index b26f03b2ce..5a4b944822 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBlockStart.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthBlockStart extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthBlockStart()
{
- super();
+ super("border-bs", "border-block-start-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBottom.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBottom.as
index b26f03b2ce..aa4ec06c8c 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthBottom.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthBottom extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthBottom()
{
- super();
+ super("border-b", "border-bottom-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInline.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInline.as
index b26f03b2ce..b63bcfebc9 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInline.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthInline extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthInline()
{
- super();
+ super("border-x", "border-inline-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInlineEnd.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInlineEnd.as
index b26f03b2ce..27ce4ff93e 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInlineEnd.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthInlineEnd extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthInlineEnd()
{
- super();
+ super("border-e", "border-inline-end-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInlineStart.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInlineStart.as
index b26f03b2ce..ecf2914b2c 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthInlineStart.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthInlineStart extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthInlineStart()
{
- super();
+ super("border-s", "border-inline-start-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthLeft.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthLeft.as
index b26f03b2ce..c0c7a0b588 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthLeft.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthLeft extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthLeft()
{
- super();
+ super("border-l", "border-left-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthRight.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthRight.as
index b26f03b2ce..d12daf878a 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthRight.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthRight extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthRight()
{
- super();
+ super("border-r", "border-right-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file
diff --git
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthTop.as
similarity index 61%
copy from
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
copy to
frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthTop.as
index b26f03b2ce..4b3d04cfea 100644
---
a/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/PositionStyle.as
+++
b/frameworks/projects/Style/src/main/royale/org/apache/royale/style/stylebeads/border/BorderWidthTop.as
@@ -16,37 +16,16 @@
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
-package org.apache.royale.style.stylebeads
+package org.apache.royale.style.stylebeads.background
{
- public class PositionStyle extends MeasurementStyleBase
+ /**
+ * Defaults to 1px.
+ */
+ public class BorderWidthTop extends BorderWidth
{
- public function PositionStyle()
+ public function BorderWidthTop()
{
- super();
+ super("border-t", "border-top-width");
}
-
- private var _value:String;
-
- [Inspectable(category="General",
enumeration="static,fixed,absolute,relative,sticky", defaultValue="absolute")]
- public function get value():String
- {
- return _value;
- }
-
- public function set value(value:String):void
- {
- _value = value;
- }
-
- override public function get selectors():Array
- {
- return ["." + value];
- }
-
- override public function get rules():Array
- {
- return ["position:" + value + unit + ";"];
- }
-
}
}
\ No newline at end of file