ColorPicker does not allow shades while rendering in the Angular-cli Application.
The following are the solutions to resolve this issue in your application.
While using bundling, gradient styles are not applied for ColorPicker component. This issue can be resolved by using our CDN link in the application. We have CDN support for all scripts and style sheets of Syncfusion components. So, please refer to the CDN link of required CSS file in Index.html as in the following code example.
Instead of bundling, move the EJ themes directly into the corresponding sample’s theme folder by following the below instructions.
Please insert the following code block in your “package.json” file to copy and paste the theme files into your custom folder.
Run the “ng build --prod” command to create the production build.
Run the “npm run copy-content” command to copy the theme files and paste into the destination folder.
Refer to the CSS file in the index.html file as in the following code example.
Run the “npm install http-server -g” command to install http server globally in your system.
Run the “http-server ./dist” command to host your angular CLI application.
Please get the sample from the following location.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|