This question is locked. New answers and comments are not allowed.
Hello
I use Screen Builder to create my new App.
i have this problem: in one view the platform autogenerate this:
<div data-role="view" data-title="View" data-layout="main" data-model="app.home" data-show="app.home.onShow" data-after-show="app.home.afterShow" id="homeScreen" class="screen"><header data-role="header"><div data-role="navbar" class="header-text"><span data-bind="text: strings.home.title"></span></div></header><!-- START_CUSTOM_CODE_home --><!-- Add custom code here. For more information about custom code, see http://docs.telerik.com/platform/screenbuilder/troubleshooting/how-to-keep-custom-code-changes --><!-- END_CUSTOM_CODE_home --></div>
now... if I want add new tag on DIV this data-before-hide="beforeHide" : how add this in START_CUSTOM_CODE_home ?
if i insert this on div element, if i edit VIEWS with screen builder my code is deleted ... so how add the attach event with code?
I use Screen Builder to create my new App.
i have this problem: in one view the platform autogenerate this:
<div data-role="view" data-title="View" data-layout="main" data-model="app.home" data-show="app.home.onShow" data-after-show="app.home.afterShow" id="homeScreen" class="screen"><header data-role="header"><div data-role="navbar" class="header-text"><span data-bind="text: strings.home.title"></span></div></header><!-- START_CUSTOM_CODE_home --><!-- Add custom code here. For more information about custom code, see http://docs.telerik.com/platform/screenbuilder/troubleshooting/how-to-keep-custom-code-changes --><!-- END_CUSTOM_CODE_home --></div>
now... if I want add new tag on DIV this data-before-hide="beforeHide" : how add this in START_CUSTOM_CODE_home ?
if i insert this on div element, if i edit VIEWS with screen builder my code is deleted ... so how add the attach event with code?