'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const __chunk_1 = require('./chunk-78439bef.js');

class DatatableAction {
    constructor(hostRef) {
        __chunk_1.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 = __chunk_1.createEvent(this, "press", 7);
    }
    /** Trigger a press event */
    async press(e) {
        this.pressEvent.emit(e);
    }
    render() {
        return;
    }
    static get style() { return ""; }
}

exports.materials_datatable_action = DatatableAction;
