-
Notifications
You must be signed in to change notification settings - Fork 0
Manager Module(tags)
kevin edited this page Nov 28, 2020
·
2 revisions
A manager-module is an html tag that let's u use templates like {{variable}}
and so. thou u place a manager-module, it will still be useless without javascript to give it power.
<manager-module module="ModuleName">
My name is {{name}} and i am {{age}} years old !!
This is a dash: {{variable }}
</manager-module>
var Objm = Manager.OBJM("name"),
$scope = Objm.Objs;
$scope.name = "John";
$scope.age = "25";
Objm.set("hello","Hello World Managerjs!");
console.log($scope);
Objm.controller('ModuleName',function(obj){
obj.variable = "_______";
},{
extends: "name",
});