Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components #5

Open
doowb opened this issue Oct 13, 2013 · 2 comments
Open

Components #5

doowb opened this issue Oct 13, 2013 · 2 comments

Comments

@doowb
Copy link
Member

doowb commented Oct 13, 2013

In the example for components, the parent class is .bs-example and there are 2 children. One is .btn. From looking at the output, it looks like this will pull out just the element that contains a .btn class that's within an element with .bs-example. But it doesn't pull out the html elements between those 2 elements.

If you look in the _demo/components.html file, you'll see what I'm talking about when you get to the first .bs-example element. It's wrapping a button group, but the results are only the button elements.

I'm just posting this here to clarify... is this the intended use? Or do you expect to get the entire html element starting at the .btn-example?

@jonschlinkert
Copy link
Member

Yeah, you would have to specify .btn-group to get the button groups. That's a different component, which is also pulled out elsewhere

@jonschlinkert
Copy link
Member

to your point though, you could specify it so that everything inside the .bs-example is pulled out. I was intentionally hard-coding some conventions to keep it simple, but I guess we should make it flexible enough to do that.

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

No branches or pull requests

2 participants