UNPKG

wix-style-react

Version:
26 lines (24 loc) 1.04 kB
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"]'); } }; }; export default tableActionCellDriverFactory;