carbon-custom-elements
Version:
A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.
1 lines • 1.18 kB
Source Map (JSON)
{"version":3,"sources":["components/data-table/table-header-row.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,UAAU,MAAM,aAAa,CAAC;AAIrC;;;GAGG;AACH,cACM,gBAAiB,SAAQ,UAAU;IACvC;;;OAGG;IACH,MAAM,KAAK,0BAA0B,WAEpC;CACF;AAED,eAAe,gBAAgB,CAAC","file":"table-header-row.d.ts","sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2020\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport settings from 'carbon-components/es/globals/js/settings';\nimport { customElement } from 'lit-element';\nimport BXTableRow from './table-row';\n\nconst { prefix } = settings;\n\n/**\n * Data table header row.\n * @element bx-table-header-row\n */\n@customElement(`${prefix}-table-header-row`)\nclass BXTableHeaderRow extends BXTableRow {\n /**\n * The name of the custom event fired before this row is selected/unselected upon a user gesture.\n * Cancellation of this event stops the user-initiated change in selection.\n */\n static get eventBeforeChangeSelection() {\n return `${prefix}-table-change-selection-all`;\n }\n}\n\nexport default BXTableHeaderRow;\n"]}