import { r as registerInstance, c as createEvent } from './chunk-2123d8c1.js';

class DatatableAction {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        /** Mark this datatable action as displayed */
        this.display = true;
        /** The datatable-action color, it can be either :
         *  - a predifined value : 'primary', 'secondary', 'error'.
         *  - an hexa color code : #225566, #CCC.
         *  - a css named color : red, blue.
        */
        this.color = 'primary';
        this.pressEvent = createEvent(this, "press", 7);
    }
    /** Trigger a press event */
    async press(e) {
        this.pressEvent.emit(e);
    }
    render() {
        return;
    }
    static get style() { return ""; }
}

export { DatatableAction as materials_datatable_action };
