Does Dom7 supports $( selector [, context ] )?

Hi,
Does Dom7 supports $( selector [, context ] ) like jQuery ?

I cannot find it mentioned in the doc: https://framework7.io/docs/dom7.html
I just realised this, but anyway, I have been using this way for a while. eg: $(“li”, this.el)

I have tested something.
I found that it works when context is a normal element, but not works with Dom7elements.

Adding [0] to get it back to “normal” el will work.


($ = Dom7)

@nolimits4web will you consider making a fix for this?

Thanks.

No, it is the same as $(context).find(selector)

1 Like