Open ght opened 5 years ago
Agree :+1:
Furthermore we then should add a unified method for returning the options (getOptionsFontAwesome
, getOptionsIonicons
, getOptionsBoxicon
.) The new getOptions
method should return the icon options in the new 'ion/attach'
format.
Current behavior
If support for multiple icon sets is wanted, it is necessary for the code to handle this at each call site, e.g. like this:
Desired behavior
It should be possible to use icons from all supported sets, without the code at the call site even knowing which sets exist.
A possible implementation could be used like this (comments welcome):
Pros