Closed ilhan007 closed 2 weeks ago
Name | Link |
---|---|
Latest commit | 2561e6317feca04185b7e45d9e34c97e6f161036 |
Latest deploy log | https://app.netlify.com/sites/ui5-webcomponents-ngx/deploys/66730771d9030000087ebc96 |
Deploy Preview | https://deploy-preview-133--ui5-webcomponents-ngx.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Summary
The PR changes the angular component/wrapper/directive generation so that all boolean properties are declared with the
@Input({ transform: booleanAttribute })
to enable setting boolean attributes.Previously, the only way to set boolean attributes used to be via the property syntax:
While now, the same can be done with a simple attribute:
How it works
Generating all boolean properties (known as inputs in the Angular terminology) with
@Input({ transform: booleanAttribute })
.Previously
Now
Fixes: https://github.com/SAP/ui5-webcomponents-ngx/issues/128