-
-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add onLoad event #152
Comments
Sorry, currently there is no events for this, I will add new events in new version, $("#emojionearea").emojioneArea();
var ready = function(next) {
var timer = setInterval(function() {
if ($("#emojionearea").is(":hidden")) {
clearInterval(timer);
next();
}
}, 200);
};
ready(function() {
// add your buttons to emojionearea here
}); |
@mervick thanks 👍 |
@mervick I'm trying to find ways I could contribute to emojionearea How do you envision this event working? Maybe an event being fired when emojionearea is about to add the smiley/close button The event handler can return the full markup which will then be appended? Maybe some other idea, or just something you prefer to implement yourself? |
this issue is duplicate of #78 |
@carpii if you have a time you can add onLoad event it must be triggered after init function done, maybe here |
@mervick, thanks I will have a play around tomorrow and see how well it works |
@carpii I want to completely rewrite this plugin but I don't have a time to do this |
@mervick I understand. Even in its present state though, its the best I've seen and still helping a lot of people :) |
@carpii I need help with documentation, if you can do it I would be very grateful |
@mervick Ok I'll try to help with that too, but I dont have an in-depth understanding of it yet, only the bits I've used in my project. I'll submit some doc changes over the weekend, and then you can decide if theyre worth committing |
ok |
@mervick does this new onload event need to use the internal trigger/localstorage mechanism? Since it will only fire once per instance, from what I can see its just a case of calling trigger("onload") |
it will used for users and fire only once per instance |
i want to add other buttons with my emoji emojionearea-button inside emojionearea
like this
The text was updated successfully, but these errors were encountered: