Skip to content

Tag: javascript

How to render check box inside flatlist

I created a checkbox inside my flatlist but when I click on the checkbox all the check boxes will render. I want to render the checkbox I press not the entire checkboxes. This is my code. this is my data. Answer you set a global state so it is selecting checkbox for all items remove this set array of selected

How to customise popup from mapbox

I have angular 8 application and I can show a popup. But I want to style the popup. But how to do that? SO I have this template: and ts: and css: but nothing change. The popup stays white see image. So what I have to change? Thank you So in css: toggle-layer.component.scss I have this: Answer Should work: