-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mig82/develop
Develop
- Loading branch information
Showing
34 changed files
with
444 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# TabsMenu | ||
|
||
This project showcases an example of how to build a *Reusable Tabs Menu | ||
Component* using *Kony Visualizer*. The Visualizer project just serves as a | ||
wrapper to demo the component. The component -called | ||
`com.mig82.TabsMenu` is the real focus of this exercise. | ||
|
||
## External Dependencies | ||
|
||
This project uses AmplifyJs's core module. This is bundled within the component | ||
so once the component is imported this Javascript module will be added to the | ||
project's global `modules` directory. | ||
|
||
## Implementation Notes | ||
|
||
This project was built using Kony Visualizer Visualizer 8.4.22. | ||
|
||
## Other Considerations | ||
|
||
This tabs menu is designed to create the illusion that when navigating between | ||
two forms that have it, the header is fixed and only the content of the rest of | ||
the screen changes. For this to work, make sure that both `IN` and `OUT` | ||
transitions of all your forms are set to `None`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
function bootstrap(){ | ||
/*glogals amplify*/ | ||
amplify.allowDuplicates(false); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Define a component's setters and getters in one line by just listing the fields -e.g.: | ||
* initGettersSetters: function() {kony.mvc.genAccessors(this, ["foo","bar"]);} | ||
*/ | ||
((definition) => { | ||
kony.mvc.genAccessors = definition; | ||
})((compCtrl, fields) => { | ||
|
||
fields.forEach((fieldName) => { | ||
//The internal field name is prefixed with underscore -e.g.: "_foo" for field "foo" | ||
var internalFieldName = "_" + fieldName; | ||
defineGetter(compCtrl, fieldName, function () { | ||
return compCtrl[internalFieldName]; | ||
}); | ||
defineSetter(compCtrl, fieldName, function (message) { | ||
compCtrl[internalFieldName] = message; | ||
}); | ||
}); | ||
}); |
File renamed without changes.
Oops, something went wrong.