This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Behaviours\Eloquent; | |
use Illuminate\Database\Eloquent\Builder; | |
/** | |
* Composite Primary Key Trait adoption for eloquent object | |
* | |
* Trait HasCompositePrimaryKey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sendMessage(message) { | |
var evt = new Event('input', { | |
bubbles: true | |
}); | |
var input = document.querySelector("div.input"); | |
input.innerHTML = message; | |
input.dispatchEvent(evt); | |
document.querySelector(".icon-send").click(); |