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

UI-shell Header - Vanilla JS #5668

Closed
1 task done
rac0316 opened this issue Mar 19, 2020 · 1 comment · Fixed by #5862
Closed
1 task done

UI-shell Header - Vanilla JS #5668

rac0316 opened this issue Mar 19, 2020 · 1 comment · Fixed by #5862

Comments

@rac0316
Copy link

rac0316 commented Mar 19, 2020

What package(s) are you using?

  • carbon-components

Summary

Trying to implement the vanilla js version of ui-shell header but i'm unable to really find any example to get going. Can someone point me in the right direction? All of the examples here use React.

Experimental flag for 'ui-shell' have been set to true and I've grabbed html from the only reference I can find, located here, but shouldn't there be some JS initialization somewhere?

Thanks,
Robert

@asudoh
Copy link
Contributor

asudoh commented Mar 19, 2020

Unfortunately our JSDoc doesn't capture UI Shell code, but you can refer to https://github.com/carbon-design-system/carbon/tree/v10.10.0/packages/components/src/globals/js/mixins to see how to instantiate vanilla JS classes. The vanilla JS classes for UI Shell can be found at .js files in https://github.com/carbon-design-system/carbon/tree/v10.10.0/packages/components/src/components/ui-shell (except ui-shell.config.js).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants