Screen builder problem

2 posts, 0 answers
  1. Boschi
    Boschi avatar
    13 posts
    Member since:
    Apr 2010

    Posted 06 Jul 2017 Link to this post

    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 --><!-- 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?
  2. Garo
    Garo avatar
    150 posts

    Posted 11 Jul 2017 Link to this post

    Hello Boschi,

    I believe this question was answered by my colleague Martin in the separate ticket that you have opened. Please, correct me if this is not the case and the issue reported here is of a different kind.

    Progress Telerik

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top