CustomContracts
methods are different than other DappHero features as their functionality requires multiple components. Unlike Network
or User
features which require only one tag to identify an element and replace its data, CustomContracts
require a variable number of elements that can potentially be located anywhere on the screen. CustomContract
anywhere on the page, we have introduced a special tag, data-dh-property-method-id
, which has a custom unique value that you determine, and which should be used for all elements related to the same functionality. myUniqueTag
in this way, the DappHero Engine knows all these different elements, regardless of where they are on the page, belong together in the same functionality.