Codebase integration

Useful information for developers integrating Haiku into their codebase.

Roberto Dip avatar Zack Brown avatar Taylor Poe avatar +1
20 articles in this collection
Written by Roberto Dip, Zack Brown, Taylor Poe and 1 other

NPM Support

Can I get my Haiku as an npm module?
Roberto Dip avatar
Written by Roberto Dip
Updated this week

Animating UILabels or UiTextfields in Xcode with Haiku

Is a way to dynamically animate UILabels or UiTextfields in Xcode?
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Once my Haiku is on a web page, how do I make it responsive?

Can my Haiku adapt to different screen sizes?
Roberto Dip avatar
Written by Roberto Dip
Updated over a week ago

Is it possible to call an external Javascript function from within Haiku?

E.g. I want to start playing an embedded video when the user clicks on an object.
Taylor Poe avatar
Written by Taylor Poe
Updated over a week ago

How to control a Haiku component's timeline from the host codebase

E.g. I have the animation playing on page load but also want to play it on mouseover
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Is it possible pass props for a RN component?

In React Native we use Lottie and it doesn't accept props.
Sasha Joseph avatar
Written by Sasha Joseph
Updated over a week ago

Native iOS camera support

Does Haiku support an iOS native function to incorporate the camera?
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Browser support

What fallbacks are in place for older browsers?
Sasha Joseph avatar
Written by Sasha Joseph
Updated over a week ago

Setting the value of a state for a component that has been embedded in HTML

Not a React project, just a simple embed into a webpage.
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Lottie: publishing & troubleshooting

Known issues when using Haiku + Lottie
Sasha Joseph avatar
Written by Sasha Joseph
Updated over a week ago

Providing parameters when using the Angular adapter

Example: Pass on further config params to disable the context menu and set the sizing to 'cover'.
Sasha Joseph avatar
Written by Sasha Joseph
Updated over a week ago

Embedding your Haiku in a dev project

Will the code in my project auto-update if I change my Haiku?
Sasha Joseph avatar
Written by Sasha Joseph
Updated over a week ago

Starting an animation at a certain time with the API

Using the Haiku Developer API
Roberto Dip avatar
Written by Roberto Dip
Updated over a week ago

Disabling the "Crafted in Haiku" menu

Is there a way to disable the "Crafted in Haiku" right click window? (vanilla HTML embed)
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Update Haiku project version in your codebase

How can I get a new version of my Haiku component into my codebase?
Sasha Joseph avatar
Written by Sasha Joseph
Updated over a week ago

Integrating Haiku with a PHP app

Is it possible integrating Haiku with an existing jQuery + PHP app?
Sasha Joseph avatar
Written by Sasha Joseph
Updated over a week ago

Assets supplied by the CDN

Are there any assets not supplied by the CDN?
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Animation looping

Can I stop an animation from looping in a codebase?
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Haiku files

Why is there a separate `HaikuCore...min.js` and `index.embed.js`?
Zack Brown avatar
Written by Zack Brown
Updated over a week ago

Removing the username from the method name and meta data

The embedded JS contains the name of account. Is there a way to avoid this?
Zack Brown avatar
Written by Zack Brown
Updated over a week ago