2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-12 13:47:49 +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');
}
}
/**