eddiemf/vue-affix

It's possible pass $this.refs.elem instead selector?

gtso86 opened this issue · 2 comments

Instead to use selector to pass relative-element-selector it's possible use $ref?

No, but you can always get the ID of the element using the $ref and pass this ID :)

danon commented

ID is not guaranteed to be unique in HTML document, is it? I also like my elements specified explicitly, thank through name/id/class/selector etc.