You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I were able to implement the fully baked solution proposed, would a PR be welcomed? 😉
Ideally I'd like to see this provide slot documentation even in cases where no comments are present. We should be able to glean the docs data from the markup used in the template if that's AST parse-able.
Activity
manucorporat commentedon Feb 7, 2019
Seems like a good idea!
Right now we can support this use case, using the
docsTagsof each component:but it would be great to provide this as a end-to-end feature:
brandyscarney commentedon Feb 7, 2019
@manucorporat How soon can you add this? I need it tomorrow.
amwmedia commentedon Feb 8, 2019
If I were able to implement the fully baked solution proposed, would a PR be welcomed? 😉
Ideally I'd like to see this provide slot documentation even in cases where no comments are present. We should be able to glean the docs data from the markup used in the template if that's AST parse-able.
@brandyscarney @manucorporat
NKBelousov commentedon Dec 9, 2019
Nice idea, it would be great to immediately understand if component supports slots
brandyscarney commentedon Dec 9, 2019
This has been added in Stencil, you can see it in action here: https://github.com/ionic-team/ionic/blob/6e0b9c45489889266620ee2ca38c33fdf8ce3f3b/core/src/components/button/button.tsx#L12-L15
We haven't added it to be displayed in the docs yet, but the data is there for the site to use.
NKBelousov commentedon Dec 10, 2019
Thanks