Skip to content

Conversation

@jaroslavtyc
Copy link

Fix method call in example to be PHP-like instead of JS-like.

BTW note somewhere that it mimic jQuery interface plus some "equal to jQuery" example would be helpful for newbies.

Fix method call in example to be PHP-like instead of JS-like.

BTW note somewhere that it mimic jQuery interface plus some "equal to jQuery" example would be helpful for newbies.
a ``NodeElement``, you can find more elements deeper inside of it::

$spanEle = $anchorElement.find('css', 'span.emph');
$spanEle = $anchorElement->find('css', 'span.emph');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also fix the var name to $anchorEle to match the var name from the above... or even better fix the var name above to $anchorElement instead. Wdyt?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants