diff --git a/README.md b/README.md
index c04d6e27..c219cb36 100644
--- a/README.md
+++ b/README.md
@@ -50,7 +50,7 @@ import '@fa-repo/mobile-dev-environment/mobile-dev-environment.css';
new mobileDevEnvironment({
stateId : 'my-multi-page-app',
- actionBarCorner : 'tl'
+ actionsCorner : 'tl'
});
// app.html
@@ -77,7 +77,7 @@ new mobileDevEnvironment({
@@ -100,14 +100,14 @@ new mobileDevEnvironment({
Default |
- actionBar |
+ actions |
An array of actions to load |
array |
['reload','tray'] |
- actionBarCorner |
- The actionBar position, top left 'tl' or right 'tr' |
+ actionsCorner |
+ The actions bar position, top left 'tl' or right 'tr' |
string |
'tr' |
diff --git a/example/index.html b/example/index.html
index 56c25a3f..555a020f 100644
--- a/example/index.html
+++ b/example/index.html
@@ -20,7 +20,7 @@
diff --git a/src/mde.js b/src/mde.js
index e7492760..364607ae 100755
--- a/src/mde.js
+++ b/src/mde.js
@@ -15,14 +15,14 @@ import tracer from "./utils/tracer.js";
defaults(options, {
stateId: "global",
- actionBar: ["reload", "tray"],
+ actions: ["reload", "tray"],
hardReload: true,
- actionBarCorner: "tr"
+ actionsCorner: "tr"
});
const state = stately(options.stateId);
- state.set("action-bar", options.actionBar);
- state.set("action-bar.corner", options.actionBarCorner);
+ state.set("action-bar", options.actions);
+ state.set("action-bar.corner", options.actionsCorner);
state.set("reload.refreshCache", options.hardReload);
state.setCache("tray.open", state.getCache("tray.open", true));
state.setCache(