aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/core/Types.kt29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/core/Types.kt b/src/main/kotlin/pl/treksoft/kvision/core/Types.kt
index 0817b3ae..1b4f011d 100644
--- a/src/main/kotlin/pl/treksoft/kvision/core/Types.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/core/Types.kt
@@ -21,24 +21,25 @@
*/
package pl.treksoft.kvision.core
- /**
- * This type is used for accessing resources with CommonJS **require** function.
- *
- * e.g. require("./img/picture.png")
- */
+/**
+ * This type is used for accessing resources with CommonJS **require** function.
+ *
+ * e.g. require("./img/picture.png")
+ */
typealias ResString = String
- /**
- * Helper type used to define CSS style attributes.
- */
+/**
+ * Helper type used to define CSS style attributes.
+ */
typealias StringPair = Pair<String, String>
- /**
- * Helper type used to define CSS classes.
- */
+/**
+ * Helper type used to define CSS classes.
+ */
typealias StringBoolPair = Pair<String, Boolean>
- /**
- * This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.).
- */
+/**
+ * This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.).
+ */
typealias CssSize = Pair<Int, UNIT>
+