We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d81f84 commit f478b98Copy full SHA for f478b98
packages/button/src/LionButton.js
@@ -22,13 +22,25 @@ export class LionButton extends DelegateMixin(SlotMixin(LionLitElement)) {
22
render() {
23
return html`
24
<div class="btn">
25
+ ${this._renderBefore()}
26
<slot></slot>
27
+ ${this._renderAfter()}
28
<slot name="_button"></slot>
29
<div class="click-area" @click="${this.__clickDelegationHandler}"></div>
30
</div>
31
`;
32
}
33
34
+ // eslint-disable-next-line class-methods-use-this
35
+ _renderBefore() {
36
+ return html``;
37
+ }
38
+
39
40
+ _renderAfter() {
41
42
43
44
static get styles() {
45
return [
46
css`
0 commit comments