2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00

Merge remote-tracking branch 'jdevinemt/patch-1' into next

This commit is contained in:
Vjacheslav Trushkin 2023-02-07 23:21:06 +02:00
commit 6427d2b007

View File

@ -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');
}
}
/**