microsoft / windows-admin-center-sdk

SDK including documentation and sample code for developing extensions for Windows Admin Center (previously Project Honolulu)
Other
119 stars 51 forks source link

Documentation on how to use the sme- controls and styles #217

Closed B4DschK4Pp closed 3 years ago

B4DschK4Pp commented 3 years ago

Hi there,

is there any documentation available on how to use, for example the sme-pivot style to get a tabbed experience?

I must be doing something wrong, as I always get the error "Pivot must contain child tabs. Expected at least one (1) tab".

Regards

donatwork commented 3 years ago

Did you look at the developer tools extension and SDK GitHub repo. Something like this.

<sme-pivot>
<sme-pivot-tab role="tab" tabindex="0">
 <span/>
</sme-pivot-tab>
</sme-pivot>
B4DschK4Pp commented 3 years ago

Thank you. I tried that with no luck. Also checked out the SDK documentation, but wasn't able to find the developer tools, as the link in the documentation is dead. Developer Tools

donatwork commented 3 years ago

There are lots of examples in the GitHub for pivots. For example dev-guide/modules/controls/pivot/pivot-example.component.html

B4DschK4Pp commented 3 years ago

Thanks a lot. I've only been browsing MASTER... Sorry for bothering.

donatwork commented 3 years ago

No worries. Hope we can share info we we both seem to be learning as we go. I wish that there could be a better forum for WAC developers. The Microsoft Tech Community content seems more geared towards end users. Wish someone at Microsoft could create a forum more focused on developing extensions.

Sometimes when I need to look for something I just need to go to the CLI, for example, from the top of the source tree in Git bash:

find dev-guide -type f -name '*.html' -exec grep -l '</sme-pivot-tab>' {} \;