Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Juniorjs Laravel Package

eltharin/juniorjs

View on GitHub
Deep Wiki
Context7

Junior JS Library

JR.ajax(url, options = {})

call an Ajax query

Manage Events

JR.Events.add (eventName, elementSelector, handler)

allow add an event on an HTML element but placed on document root to allow dispatching event on newest elements

JR.Events.dispatch(eventName, element, options = {})

dispatch the event

Manage Popup

let popup = new JR.Popup();
popup.load(data);

create a popup

set class openpopup on a link allow you to call differently a link,

simple clic open a popup with the page emedded or with a middle clic that open you a new page

you have to set your template with condition on

{%- if app.request.headers.get('X-Requested-With') != 'XMLHttpRequest' -%}
<!DOCTYPE html>
<html>
<head>
...
{%- endif -%}

take a look to my othr plugin Ajaxresponser allowing a route to be responded in ajaxmode (a json with message, errors, success, ...} or HTML page)

allow load a link in ajax and load in a html element :

Text

allow load a link in ajax and load in a new popup :

Text

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core