Logo at header in iconic app

This forum contains topics that were moved from Get Satisfaction
Amirul Momenin
Posts: 0
Joined: Tue Apr 08, 2014 3:42 am

Logo at header in iconic app

Post by Amirul Momenin »

in iconic app at header first button/nearest to it I want to set logo
pls let me know how is this possible

Amirul Momenin
Posts: 0
Joined: Tue Apr 08, 2014 3:42 am

Logo at header in iconic app

Post by Amirul Momenin »

Pls send me iconic barcode reader example in iconic app

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Logo at header in iconic app

Post by Evgene Karachevtsev »

Hello Amirul,

Here is how you can achieve an icon in a header:

1 Drag and drop button to the header where you need.
2 Set class attribute with value "buttonIcon".
3 Add new CSS asset. And populate it with following JS code:
precode
.buttonIcon.button.button-block{
background: url(http://tse1.mm.bing.net/th?id=OIP.M6a23217a469d906b68b39837fc2e2c11o0&w=243&h=147&c=7&rs=1&qlt=90&o=4&pid=1.1);
width: 30px;
height: 30px;
}
/code/pre

Unfortunately we don't have such example, but this approach should help:

  1. Import the Barcode plugin to your app (Create new-From plugin-Apperyio Barcode Service)

  2. Add a button "Scan" to your app with a property ng-click=scan()

  3. Create a scope function "scan"

  4. Insert there a snipped "Invoke service" and set here a service name "Barcode_scan", so your function will be:
    precodevar requestData = {};
    /CLICK TO EDIT MAPPING/

    // read more about using rest services: https://links.appery.io/ve-snippet-rest
    Apperyio.get("Barcode_scan")(requestData).then(
    function(success){ // success callback
    /CLICK TO EDIT MAPPING/
    },
    function(error){ // callback to handle request error

    },
    function(notify){ // notify callback, can fire few times

    });
    /code/pre
    Click on the "/CLICK TO EDIT MAPPING/" of the success function to create a mapping from the service response to the scope variable

Amirul Momenin
Posts: 0
Joined: Tue Apr 08, 2014 3:42 am

Logo at header in iconic app

Post by Amirul Momenin »

How localStorage work in iconic app.
WE need to store translation data.

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

Logo at header in iconic app

Post by Serhii Kulibaba »

Hello Amirul,

Please use a plain JS function to read/write localStorage items: https://developer.mozilla.org/en/docs...

Post Reply