I am planning to show a feedback popup using web components.
Reason to use web component: Need to import it to multiple projects (Sort of a survey platform).
I need to display the web component pop up only after button click. The button will not be shown to all the users. Only to sampled users (Around 5-10%) out of which only 1% might click it. I don't want to download the web component bundle for every user but want to download only for sampled users(Especially who opt in to give feedback). As the bundle can be bigger in size as the web component app grows. Is there a way to only download the web component bundle on a button click and not for everyone
Related
I'm developing ad Integrations Card by SAP UI 5. In this cards, I can implements Microsoft Adaptive Cards Adaptive Cards by SAP That's easy and everything works fine.
After the submit action, I reload all the data inside the card and all the open nested card close automatically. There is a possibility to open dynamically a nested card at the init of the main card? By Javascript or something else.
I see that's impossible to reload the data of a card without reloading everything, so I'm trying to find another way to prevent closing event or to open an adaptive nested card.
Thanks in advance, Riccardo
i want to make a react app that shows specific page due to what i (the owner) chose to the user
EXAMPLE: User is in Home and reacts with my app and the app requires response from the owner/server
i choose to show him the contact page and the app shows the contact page.
I do not know how to explain better sorry
I'm trying to build an Android & iOS app using Nativescript core (Javascript). Here in app-root.xml I've a tabview in which I've 3 tabs. Each of the tabs data are related with one another. Example in first tab I show a list of products with 'Favourite' option for each items, if I favourite a product it should show in the second tab. But in my app since the Tabs are loaded while the app is opened the changes are not reflecting when the tabs are selected. But If I close and open the application the changes are shown in the Tabs. Please tell me How I could re-load the tab each and every time when it is selected.
Thanks in advance. Apologies for my poor language.
Generally with web apps you will have a single container and a tab like view above / below container, tapping on specific tab will load correspondent tab item within the container.
But with mobile apps the TabView component loads all tabs on its own container, so it won't have to reload tab when you switch between tabs. That's totally the expected behaviour.
You may use services / BehaviorSubject etc., to hold the dependent data, so when you change it form one tab, the other tab gets updated too.
I'm working an app music and I have a miniPlayer that has controls to handle and show songs info. Well, when I close and open again my app (with song playing), the song info disappears because the miniPlayer re-render the components. So, I'd like to put working in background as job in service when I close the app.
The component is the bottom on image
I appreciate any help.
I am building a demo app with 3 screens. One screen captures barcode from the camera. The second screen displays information about the barcodes. The third screen is just the home screen used to redirect to the two screens.
After I scan the barcodes, I have to make an online query to find information about the barcodes, such as name of the item, manufacturer etc.
For which screen should I connect this functionality to. Should I put the code in the script for the scanning HTML page or the one which displays it?
Is there an option where it happens in the background when none of the two pages are open.
EDIT: I can't attach it to the the home screen page because the user can redirect from one to the other without the home screen as well :(