mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
use class for selector
This commit is contained in:
@@ -17,7 +17,7 @@ import styles from './icon-button.styles';
|
||||
export default class SlIconButton extends LitElement {
|
||||
static styles = styles;
|
||||
|
||||
@query('button') button: HTMLButtonElement | HTMLLinkElement;
|
||||
@query('.icon-button') button: HTMLButtonElement | HTMLLinkElement;
|
||||
|
||||
/** The name of the icon to draw. */
|
||||
@property() name?: string;
|
||||
|
||||
Reference in New Issue
Block a user