Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Is that possible? In a manner similar to CSS injector and JS injector? Thanks.
Is that possible? In a manner similar to CSS injector and JS injector? Thanks.
Comments
Comment #1
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedYou can use arg() and/or drupalgap_path_get() to make decisions about the path you are on, then make decisions in your JS code. I'm not sure about CSS though, typically CSS is just loaded via the head of your index.html file.
You can try using drupalgap_add_css() in your code.