raychenfj / ion-multi-picker

Multi Item Picker - An Ionic Custom Multi Picker Component
https://raychenfj.github.io/ion-multi-picker/
Other
236 stars 103 forks source link

Add a wrapper/class names for each column's output #59

Closed fayecheah closed 6 years ago

fayecheah commented 7 years ago

Hi all,

Is it possible to add a wrapper to each column's output? For example, now it's giving me

<div class="multi-picker-text">Col1Value Col2Value Col3Value</div>

I would like to have each column to be wrapped with a <span>: <div class="multi-picker-text"><span>Col1Value</span> <span>Col2Value</span> <span>Col3Value</span></div>

or even better, with class name <span class="Col1ClassName">..</span> <span class="Col2ClassName">..</span>.. if possible.

Appreciate any help!

Thanks.

raychenfj commented 7 years ago

@fayecheah , I use the ionic official picker component, so I can't modify it myself. I guess If you want to modify css style, you can override css directly.