20,741
edits
(→Design) |
|||
Line 55: | Line 55: | ||
This would be in line with the existing Canvas/MapStructure APIs, and it would also make it possible to easily use delegates to customize internal behavior | This would be in line with the existing Canvas/MapStructure APIs, and it would also make it possible to easily use delegates to customize internal behavior | ||
<syntaxhighlight lang="javascript"> | |||
var myElement = func(root, options, style) { | |||
.... | |||
return element; | |||
} | |||
</syntaxhighlight> | |||
== Implementation == | == Implementation == |