Skip to content

Commit 9c42cf4

Browse files
committed
button.Effect#getVdomConfig(): Add id & style #6976
1 parent e8ce52c commit 9c42cf4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/button/Effect.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ class EffectButton extends Component {
216216
tag,
217217
cls : this.getVdomCls(),
218218
href : link ? (link.startsWith('#') ? link : '#' + link) : null,
219+
id : me.id,
220+
style : me.style,
219221
target : me.url ? me.urlTarget : null,
220222
type : tag === 'button' ? 'button' : null,
221223
cn : this.getVdomChildren()

0 commit comments

Comments
 (0)