Created
December 2, 2016 09:37
-
-
Save katopz/6d321c0558e6560d7413094bd039160d to your computer and use it in GitHub Desktop.
How to query gdom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// try this at https://github.com/syrusakbary/gdom | |
{ | |
page(url: "https://preactjs.com") { | |
title | |
html | |
items: query(selector:"link") { | |
url: attr(name:"href") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment