Teddy Bradford

Results 16 comments of Teddy Bradford

Any news on this front? Would love to use an option like this.

Agreed. The `.component--option` naming convention also keeps components more isolated, which is especially helpful when debugging.

True, but I can also see a use case for wanting to use csstyle with an already existing codebase that has an established library of components. Depending on the scale...

Ah, that makes sense. For the UI maybe clicking the thumbs down icon could cycle through normal dislike, priority dislike, and the neutral states?

Being able to specify a query selector would be useful so you could do things like `page.heading[".chapter-title"] + ": " + page.heading.h1` for the running header.

Note the page numbers: ![image](https://user-images.githubusercontent.com/3684553/29722965-d3b8e332-8990-11e7-858a-737da2a76c8f.png)

Seems like there should be an easier way to set a selector for what should be searched instead of putting in a querySelector.

Using this code, I'm some getting weird page number results. ```js Bindery.PageReference({ selector: ".index-section li", createTest: (el) => { const term = el.textContent.toLowerCase().trim(); return (pageEl) => { const query =...

Also, is there a way to automatically wrap the term in a span for styling purposes?

Yeah, that's an accurate summary of the bugs.