Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Custom Web Component Styling

Nathan ZentnerSep 19 2024

I'm implementing a custom component and want to use class styling passed in the properties. I have added an oj-panel class to my widget, but it adds what looks like the wrapper in front and in the end of my component. Should I strip those classes in my constructor context.element and then add them to my internal parent container? Should this work OOTB?

<att-common-employee-salary-detail
**class="oj-panel"**
slot="value"

Comments
Post Details
Added on Sep 19 2024
3 comments
258 views