UNPKG

wix-style-react

Version:
31 lines (28 loc) 1.13 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var tableActionCellDriverFactory = function tableActionCellDriverFactory(component) { return { element: function element() { return component; }, /** Get the primary action placeholder element */ getPrimaryActionPlaceholder: function getPrimaryActionPlaceholder() { return component.$('[data-hook="table-action-cell-placeholder"]'); }, /** Get the primary action button element */ getPrimaryActionButton: function getPrimaryActionButton() { return component.$('[data-hook="table-action-cell-primary-action"]'); }, /** Get the visible secondary actions wrapper element */ getVisibleActionsWrapper: function getVisibleActionsWrapper() { return component.$('[data-hook="table-action-cell-visible-actions"]'); }, /** Get the secondary actions popover menu element */ getHiddenActionsPopoverMenu: function getHiddenActionsPopoverMenu() { return component.$('[data-hook="table-action-cell-popover-menu"]'); } }; }; exports.default = tableActionCellDriverFactory;