This episode is for subscribers only.

By subscribing you help me create more content.

Hotwire Native iOS Bridge Nav Button with Icon or Text | SupeRails #203

13/10/2024
Pro
ios hotwire native

In this episode you will:

  • Learn to install & use Bridge Button component.
  • Extend Bridge Button to accept images.
  • Learn what happens if there are multiple bridge buttons defined in your HTML? (The last definition gets rendered)

Resources:

  • [Hotwire Native iOS source code]([member-only link]
  • [iOS Bridge ButtonComponent example]([member-only link]
  • [UIBarButtonItem docs]([member-only link]
  • [Hotwire Native Bridge repo]([member-only link]
  • [Hotwire Native Bridge installation guide]([member-only link]

./bin/importmap pin @hotwired/stimulus @hotwired/hotwire-native-bridge