You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems as you can just refer to alpha as a directly from the TinyColor-object, from the tests:
consthexSetter=newTinyColor('rgba(255, 0, 0, 1)');// Alpha should start as 1expect(hexSetter.a).toBe(1);hexSetter.setAlpha(0.5);// setAlpha should change alpha valueexpect(hexSetter.a).toBe(0.5);
Anyways, for backwards compatibility I guess it would be nice to have getAlpha(), so either it should be added, or getAlpha() should be removed from the documentation.
^ title says it all
The text was updated successfully, but these errors were encountered: