From bc2152266d0aa8b749d5202d54f9e7c4a5db5b5b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Jun 2019 14:12:10 +0200 Subject: API documentation for KVision 0.0.37 --- .../-context-menu/index.html | 37 ++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision.dropdown/-context-menu/index.html') diff --git a/api/pl.treksoft.kvision.dropdown/-context-menu/index.html b/api/pl.treksoft.kvision.dropdown/-context-menu/index.html index 5580346f..0f9dc915 100644 --- a/api/pl.treksoft.kvision.dropdown/-context-menu/index.html +++ b/api/pl.treksoft.kvision.dropdown/-context-menu/index.html @@ -18,7 +18,21 @@

<init>

-ContextMenu(classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null) +ContextMenu(element: Widget? = null, fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null) + + + +

Properties

+ + + + +
+

fixedPosition

+
+val fixedPosition: Boolean +

use fixed positioning

+
@@ -100,6 +114,25 @@ +

Companion Object Properties

+ + + + + + + + + + + +
+

DEFAULT_FIXED_POS_X

+
+const val DEFAULT_FIXED_POS_X: Int
+

DEFAULT_FIXED_POS_Y

+
+const val DEFAULT_FIXED_POS_Y: Int

Companion Object Functions

@@ -108,7 +141,7 @@

contextMenu

-- cgit
-fun Widget.contextMenu(classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu +fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.