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 c980db9 commit d7a4ca5Copy full SHA for d7a4ca5
1 file changed
docs/reference/control/getConfigValue.md
@@ -0,0 +1,16 @@
1
+## getConfigValue
2
+Gets the configure's value.
3
+``` sig
4
+ getConfigValue(null, null);
5
+```
6
+
7
+## Parameters
8
+**key:** the configure's id
9
+**defl:** the configure's value
10
11
+## Example
12
+Get the screen's width and height value.
13
+``` ts
14
+ const width = control.getConfigValue(DAL.CFG_ARCADE_SCREEN_WIDTH, 160);
15
+ const height = control.getConfigValue(DAL.CFG_ARCADE_SCREEN_HEIGHT, 120);
16
0 commit comments