Build custom controls (2024)

The Koji platform provides controls that you can use to capture user input, such as images, text, and sounds.In addition, you can create your own custom controls.

Examples of custom controls are tile map editors, sound enhancers, or custom avatar creators, which enhance the app’s interactivity.

A custom control is an application in Koji; therefore, you create one the same way you create any other Koji application.However, it cannot be used as a standalone app.When triggered, it appears over the parent app like a modal.

This topic outlines the steps to create your own custom control.

Provide a link to your custom control

Any app that uses your custom control must call Koji.ui.capture.custom with a koji-vccs.com subdomain.

To get your own subdomain of koji-vccs.com,

  1. Open the published custom control.

    • You can open the link that is provided in the notification immediately after you publish.

    • You can also go back to the Project Details page and click View Published Koji.

  2. While viewing your custom control, go to App …​ Custom Domain.

  3. Click Add New Domain.

  4. Select Subdomain and click Next.

  5. Select koji-vccs.com as the root domain, enter a subdomain, and click Register.

    The subdomain name you enter will be passed as the name parameter to Koji.ui.capture.custom.

Build custom controls (2024)
Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6255

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.