IgniteUI / igniteui-docfx-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collapsible code snippets in the Slingshot API documentation

VyaraYanakieva opened this issue · comments

Hi!

Right now, the code snippets (the examples of successful response bodies in the Rest API), can't be collapsed. It will be nice to have them hidden. Then the users can click/tap on the button/arrow in order to open the code snippet (as shown in the video).

We need to implement this only for the successful response bodies. The request bodies should stay as they are.

I didn't add the link to the documentation as everything is on staging right now. Maybe we will have everything on the production page later today or on Monday.

If you have another idea of how this can work/look like, let me know.

Thanks!

example.of.a.successful.response.body.mp4