customType

abstract fun customType(): String

Type of property that will be send to JS. In most of the cases customType should not be set in which case default type will be send to JS based on the type of value argument from the setter method (e.g. for int, float default is "number"). Custom type may be used when additional processing of the value needs to be done in JS before sending it over the bridge. A good example of that would be backgroundColor property, which is expressed as a String in JS, but we use processColor JS module to convert it to int before sending over the bridge.