[ Web Proxy ]
URL:
Viewing: https://windmillcode.github.io/Windmillcode-Angular-CDK-Docs/angular-components/wml-chips [Back]  [Original]

WML Chips | Windmillcode CDK Skip to content
CtrlK
Cancel
Select version 20.1.6000 20.1.5000 20.1.4000 20.1.3000 20.1.2000 20.1.1000 20.1.0 20.0.6000 20.0.5000 20.0.4000 20.0.3000 20.0.2000 20.0.1000 20.0.0 19.2.14000 19.2.13000 19.2.12000 19.2.11000 19.2.10000 19.2.10000 19.2.9000 19.2.8000 19.2.7000 19.2.6000 19.2.5100 19.2.5001 19.2.5000 19.2.4000 19.2.3000 19.2.2000 19.2.1000 19.2.0 19.1.8000 19.1.7000 19.1.6000 19.1.5000 19.1.4000 19.1.3000 19.1.2000 19.1.1000 19.1.0 19.0.7000 19.0.6000 19.0.5000 19.0.4000 19.0.3000 19.0.2000 19.0.1000 19.0.0 18.2.12000 18.2.11000 18.2.10000 18.2.9000 18.2.8000 18.2.7000 18.2.6000 18.2.5000 18.2.4200 18.2.4100 18.2.4000 18.2.3200 18.2.3100 Select theme DarkLightAuto

The Angular WML Chips library provides a highly customizable chips component for Angular applications. It offers a variety of features to enhance user interaction and improve the overall user experience.

To install the Angular WML Chips Zero library, use the following command:

Terminal window
npm install --verbose @windmillcode/angular-wml-chips

The WML Chips Zero component comes with several CSS variables and SCSS mixins that allow you to customize its appearance to fit your design needs.

The following CSS variables can be customized:

:root {
--wml-chips-white: 255,255,255;
--wml-chips-black: 0,0,0;
--wml-chips-primary: 144,238,144;
--wml-chips-secondary: 112,112,112;
--wml-chips-primary-gradient: radial-gradient(farthest-corner at 100% 0px, rgb(144,238,144) 0%, rgb(112,112,112) 150%);
--wml-chips-secondary-gradient: radial-gradient(farthest-corner at 100% 0px, grey 0%, rgb(0,0,0) 150%);
}
PropertyTypeDescription
limitnumberThe maximum number of chips allowed. Default is Infinity.
wmlFieldWMLFieldZeroPropsThe field properties for the WML Chips component.
formArrayFormArrayThe form array to store the chip values.
updateFormArrayPredicate(val: string) => anyFunction to transform chip value before adding to form array.
placeholderstringPlaceholder text for the input.
userInputsAriaLabelstringARIA label for user inputs.
removeChipAriaLabelstringARIA label for the remove chip button.
userInputsArray<string>The list of user inputs (chips).
clearBtnWMLButtonOnePropsProperties for the clear button.
  • ensured that there is support for ngx-translate and non ngx-translate features
  • to enable translation
export function HttpLoaderFactory(http: HttpClient) {
return new TranslateHttpLoader(http);
}
HttpClientModule,
WMLChipsZeroModule
.forChild(
new WMLModuleForRootProps({
ngxTranslateLoaderFactory:HttpLoaderFactory
})
),
  • to disable translation
WMLChipsZeroModule
  • atteptimg to fix dependencies
  • fixed major problems concerning ngx-translate
// translate
// first make sure to have ONLY ONE in the imports for AppModule
TranslateModule.forRoot({
defaultLanguage: 'en',
loader: {
provide: TranslateLoader,
useFactory: HttpLoaderFactory,
deps:[HttpClient]
}
}),
// then
WMLChipsZeroNGXTranslateModule
// for regular
WmlChipsModule
  • MAJOR : reanme to angular-wml-chips-zero %!(EXTRA string=
  • updated package to reflect the version 16.2.80 of @angular/core package),
  • updated package to reflect the version 16.2.80 of @angular/core package,
  • updated package to reflect the version 16.2.90 of @angular/core package,
  • updated package to reflect the version 16.2.91 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
  • updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
  • updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
  • updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
  • updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
  • updated package to conform with @windmillcode/angular-wml-components-base for unit testing features ,
  • updated package to reflect the version ^17.0.2 of @angular/core package ,
  • updated package to reflect the version ^17.0.4 of @angular/core package,
  • updated package to reflect the version ^17.0.5 of @angular/core package,
  • updated package to reflect the version ^17.0.6 of @angular/core package,
  • updated package to reflect the version ^17.0.7 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.0.8 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.1.0 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.1.2 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.1.3 of @angular/core package,
  • updated package to reflect the version ^17.2.1 of @angular/core package,
  • updated package to reflect the version ^17.2.2 of @angular/core package,
  • updated package to reflect the version ^17.2.2 of @angular/core package,
  • updated package to reflect the version ^17.2.3 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.2.4 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.3.0 of @angular/core package,
  • updated package to reflect the version ^17.3.1 of @angular/core package,
  • updated package to reflect the version ^17.3.2 of @angular/core package,
  • updated package to reflect the version ^17.3.3 of @angular/core package,
  • updated package to reflect the version ^17.3.4 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.3.5 of @angular/core package
  • [BREAKING CHANGE] - removed mat-autocomplete from chip control
  • [UPDATE] added wmlField so now formArray does not need to be specified and comes from wml-form [UPDATE] Updated chip styling in wml-chips-zero component for a more modern look and feel.

[PATCH] Removed dependency on @angular/material in wml-chips-zero, reducing the packages dependency footprint [UPDATE] Introduced @windmillcode/angular-wml-button-zero in dependencies to enhance button functionalities in wml-chips-zero. ,

  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^17.3.6 of @angular/core package,
  • updated package to reflect the version ^17.3.7 of @angular/core package,
  • updated package to reflect the version ^17.3.8 of @angular/core package,
  • updated package to reflect the version ^17.3.9 of @angular/core package,
  • updated package to reflect the version ^18.0.0 of @angular/core package,
  • updated package to reflect the version ^18.0.0 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^18.0.1 of @angular/core package,
  • updated package to reflect the version ^18.0.2 of @angular/core package,
  • updated package to reflect the version ^18.0.3 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^18.0.5 of @angular/core package,
  • updated package to reflect the version ^18.0.6 of @angular/core package,
  • updated package to reflect the version ^18.1.0 of @angular/core package,
  • updated package to reflect the version ^18.1.0 of @angular/core package,
  • updated package to reflect the version ^18.1.0 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to reflect the version ^18.1.1 of @angular/core package,
  • updated package to reflect the version ^18.1.2 of @angular/core package,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base ,
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to reflect the version 18.2.1 of @angular/core package
  • updated package to reflect the version 18.2.2 of @angular/core package
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to reflect the version 18.2.3 of @angular/core package
  • updated package to reflect the version 18.2.3 of @angular/core package
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/angular-wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to reflect the version 18.2.4 of @angular/core package
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to reflect the version 18.2.5 of @angular/core package
  • updated package to reflect the version 18.2.6 of @angular/core package
  • updated package to reflect the version 18.2.7 of @angular/core package
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to reflect the version 18.2.8 of @angular/core package
  • updated package to reflect the version 18.2.8 of @angular/core package
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to reflect the version 19.0.2 of @angular/core package
  • updated package to reflect the version 19.0.3 of @angular/core package
  • updated package to reflect the version 19.0.4 of @angular/core package
  • updated package to reflect the version 19.0.5 of @angular/core package
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to reflect the version 19.0.6 of @angular/core package
  • updated package to reflect the version 19.0.7 of @angular/core package
  • updated package to reflect the version 19.1.0 of @angular/core package
  • updated package to reflect the version 19.1.1 of @angular/core package
  • updated package to reflect the version 19.1.2 of @angular/core package
  • updated package to reflect the version 19.1.3 of @angular/core package
  • update package to support the react native ecosystem
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to reflect the version 19.1.4 of @angular/core package
  • updated package to reflect the version 19.1.5 of @angular/core package
  • updated package to reflect the version 19.1.6 of @angular/core package
  • updated package to reflect the version 19.1.7 of @angular/core package
  • updated package to reflect the version 19.1.8 of @angular/core package
  • updated package to reflect the version 19.2.0 of @angular/core package
  • updated package to reflect the version 19.2.1 of @angular/core package
  • updated package to reflect the version 19.2.2 of @angular/core package
  • updated package to reflect the version 19.2.3 of @angular/core package
  • updated package to reflect the version 19.2.4 of @angular/core package
  • updated package to reflect the version 19.2.5 of @angular/core package
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to reflect the version 19.2.8 of @angular/core package
  • updated package to reflect the version 19.2.9 of @angular/core package
  • updated package to reflect the version 19.2.10 of @angular/core package
  • updated package to reflect the version 19.2.11 of @angular/core package
  • updated package to reflect the version 19.2.12 of @angular/core package
  • updated package to reflect the version 19.2.13 of @angular/core package
  • updated package to reflect the version 19.2.14 of @angular/core package
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base
  • updated package to conform with @windmillcode/wml-components-base

Web Proxy Viewer  |  New URL  |  Original Page