diff --git a/packages/marko-web-native-x/components/init.marko b/packages/marko-web-native-x/components/init.marko index afb40ac9a..ba98da1a4 100644 --- a/packages/marko-web-native-x/components/init.marko +++ b/packages/marko-web-native-x/components/init.marko @@ -1,18 +1,29 @@ import { warn } from "@parameter1/base-cms-utils"; -$ const { uri, enabled } = input; +$ const { uri, enabled, on } = input; +$ const src = "https://cdn.parameter1.com/native-x/1.0.0-rc.4.3.js"; - + + + + + + + diff --git a/packages/marko-web-native-x/components/marko.json b/packages/marko-web-native-x/components/marko.json index 16b8ee3ef..308c58d02 100644 --- a/packages/marko-web-native-x/components/marko.json +++ b/packages/marko-web-native-x/components/marko.json @@ -2,7 +2,8 @@ "": { "template": "./init.marko", "@uri": "string", - "@enabled": "boolean" + "@enabled": "boolean", + "@on": "string" }, "": { "template": "./retrieve.marko", diff --git a/packages/marko-web-native-x/package.json b/packages/marko-web-native-x/package.json index d1fae183e..cfdafbb87 100644 --- a/packages/marko-web-native-x/package.json +++ b/packages/marko-web-native-x/package.json @@ -11,6 +11,7 @@ "test": "yarn compile && yarn lint" }, "dependencies": { + "@parameter1/base-cms-marko-web-deferred-script-loader": "^2.9.0", "@parameter1/base-cms-object-path": "^2.5.0", "@parameter1/base-cms-utils": "^2.4.2", "node-fetch": "^2.6.1"