()
| 86 | } |
| 87 | |
| 88 | render() { |
| 89 | const mode = getIonMode(this); |
| 90 | const childStyles = {}; |
| 91 | this.childrenStyles.forEach((value) => { |
| 92 | Object.assign(childStyles, value); |
| 93 | }); |
| 94 | return ( |
| 95 | <Host |
| 96 | class={{ |
| 97 | ...childStyles, |
| 98 | ...createColorClasses(this.color, { |
| 99 | [mode]: true, |
| 100 | 'in-toolbar': hostContext('ion-toolbar', this.el), |
| 101 | }), |
| 102 | }} |
| 103 | > |
| 104 | <div class="toolbar-background" part="background"></div> |
| 105 | <div class="toolbar-container" part="container"> |
| 106 | <slot name="start"></slot> |
| 107 | <slot name="secondary"></slot> |
| 108 | <div class="toolbar-content" part="content"> |
| 109 | <slot></slot> |
| 110 | </div> |
| 111 | <slot name="primary"></slot> |
| 112 | <slot name="end"></slot> |
| 113 | </div> |
| 114 | </Host> |
| 115 | ); |
| 116 | } |
| 117 | } |
nothing calls this directly
no test coverage detected