Add selector to widget getAttribute

i think we an just do opts right?