The National Popular Vote interstate compact (NPV) is state legislation designed to nullify the Electoral College without changing the Constitution. It has a “trigger”—NPV takes effect if passed by enough states that they control a majority of electoral votes (270 out of 538) and thus the outcome of presidential elections.
https://saveourstates.com/npv/the-status-of-national-popular-vote
Thanks for the info. The connections were all new to me.