Skip to content

Emit never trigged #26

@LittleLama

Description

@LittleLama

Emit won't ever be trigged.
A workaround is to use option "initComplete" to do what you wish in the parent component.
Another is to integrate a trigger in DataTables component at line 89 like this one :

if(!Object.prototype.hasOwnPropery.call(options,"initComplete")){
options.initComplete = ()=>{
console.log("DT emits init");
this.$emit("init");
};
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions