modifyAttribute (pill/pill.js)

base-components-recipes · force-app/main/default/lwc/pill/pill.js · javascript · MIT
crm

Lightning Web Component pill with link variants and error states for navigation and filtering.

// Source: https://github.com/salesforce/base-components-recipes | License: MIT | Copyright 2018, Salesforce.com, Inc
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2019, salesforce.com, inc.
 * All rights reserved.
 * SPDX-License-Identifier: MIT
 * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
 */

import labelPillDelete from '@salesforce/label/c.lightning_LightningPill_delete';
import labelPillError from '@salesforce/label/c.lightning_LightningPill_error';
import labelPillRemove from '@salesforce/label/c.lightning_LightningPill_remove';
import labelPillWarning from '@salesforce/label/c.lightning_LightningPill_warning';
import labelPillDeleteAndNavigate from '@salesforce/label/c.lightning_Lightnin

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key