Why with Alpine.​js Support only some alpinejs methods are supported?

Hello,

I work in PhpStorm 2020.1 with Laravel 8 Alpinejs 2.8 app and I have installed Alpine.​js Support, v0.2.1 and I see that alpine is supported only partlty. Say from the 3 methods declared and referenced below:


<div class="admin_page_container">

<div class="editor_form_wrapper" x-data="adminUserEditorComponentSetup()"
x-init="[onAdminUserEditorComponentInit() ]" x-cloak>

...
<span @click.prevent="loadUserPermissions('{{ $user->id ?? '' }}')" class="mr-5">
<x-icon-svg :icon="'refresh'" title="Refresh"></x-icon-svg>
</span>
...

@endsection

@section('scripts')

<script>

function adminUserEditorComponentSetup() {

return {

onAdminUserEditorComponentInit: function () {
...
},

loadUserPermissions: function () {
...
}, //loadUserPermissions () {


only adminUserEditorComponentSetup is found and clicking on it I can redirect into its definiton.
But not onAdminUserEditorComponentInit and loadUserPermissions as  I expected.
I did not find, but if this plugin has some options to check ?

Thanks!

0
1 comment

Alpine.​js Support is a third-party plugin, I'd suggest reporting the issue to the plugin vendor, https://github.com/inxilpro/IntellijAlpine/issues, for getting the assistance

0

Please sign in to leave a comment.