Listgroup change icon

Is it possible to change the icon of an item at runtime?
And also remove the icon?

Thanks

Which framework is this?

I am using Bootstrap 4.

https://wiki.nsbasic.com/Listgroup_(Bootstrap)