📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 01:35:15
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
node_modules
/
alpinejs
/
src
/
directives
📍 /home/orkouolp/web/testing.orkobd/laravel/node_modules/alpinejs/src/directives
🔄 Refresh
✏️
Editing: x-id.js
Writable
import { interceptClone } from "../clone" import { directive } from "../directives" import { setIdRoot } from '../ids' directive('id', (el, { expression }, { evaluate }) => { let names = evaluate(expression) names.forEach(name => setIdRoot(el, name)) }) interceptClone((from, to) => { // Transfer over existing ID registrations from // the existing dom tree over to the new one // so that there aren't ID mismatches... if (from._x_ids) { to._x_ids = from._x_ids } })
💾 Save Changes
❌ Cancel