๐Ÿ‡ฎ๐Ÿ‡ณIndia @ankitdebnath

Account created on 21 January 2023, about 2 years ago
#

Merge Requests

Recent comments

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

Hey @trickfun, to implement this functionality quickly, I have used the following approach:

  1. Added a new class 'custom-scroll' to the Load more button.
  2. Added 'hide' class to hide the Load More button.
  3. Created libraries.yml file and added a library.
  4. Created a JavaScript file, included it in the library, and attached the library to the field formatter (similar to how core/drupal.ajax is attached).
  5. In the JavaScript file, obtained the custom-scroll element and measured its height.
  6. After scrolling to a particular height, triggered a click event on the Load More button from the JavaScript file.

I know this should not be the actual implementation of this, but I hope it helps.
Let me know if you want more information.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

ankitdebnath โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

Hey @eleonel thanks for the review. I have added both the cases.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

ankitdebnath โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

Thanks for the solution @drubb. It works for me.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

Hello @kriboogh, thanks for the review. I have changed the code according to the requirements. Please check it out.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

I am closing this issue because the D10 version of this module is available in : Node Class For Drupal 10 โ†’

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

ankitdebnath โ†’ made their first commit to this issueโ€™s fork.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

This looks good to me.
The key tab_root_id is not working. The title Aliases should appear in the task menu links along with Edit & Delete.

But its working fine with the changes as expected.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ankitdebnath

ankitdebnath โ†’ made their first commit to this issueโ€™s fork.

Production build 0.71.5 2024