mirror of
https://github.com/iconify/iconify.git
synced 2024-12-12 13:47:49 +00:00
parent
0dbc5da8b3
commit
34702c534a
@ -210,7 +210,11 @@ export function defineIconifyIcon(
|
||||
}
|
||||
|
||||
set inline(value: boolean) {
|
||||
this.setAttribute('inline', value ? 'true' : null);
|
||||
if(value){
|
||||
this.setAttribute('inline', 'true');
|
||||
}else{
|
||||
this.removeAttribute('inline');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user