# Old code in 1.x <qrcode [qrdata]="'Your data'" [size]="256" [level]="'M'" usesvg="true"></qrcode> # New code in 2.x or 10.x <qrcode [qrdata]="'Your data'" [width]="256" [errorCorrectionLevel]="'M'" [elementType]="'svg'"></qrcode>