JViewer.Types behaviour (JViewer v0.1.4) View Source
JViewer.Types behaviour.
Defines a single callback apply_schema.
First argument of apply_schema must be a struct (schema or part of a schema) of a module that implements given behaviour. Second argumet is data schema applying to. Third argument is default handler params, which can be ignored by types that are not nested