Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Changes

Jump to: navigation, search

Canvas ND Framework

271 bytes added, 11:15, 1 October 2016
Adding new features
<syntaxhighlight lang="nasal">
{
id:'planArcs',# the name of the symbol in the SVG file impl: {# a hash containing callbacks init: func(nd,symbol) {},# required intiialization code predicate: func(nd) { nd.in_mode('toggle_display_mode', ['PLAN']) },# the predicate that decides whether the true/false callbacks below will be executed is_true: func(nd) { nd.symbols.planArcs.show() },# this will be invoked if the predicate evaluates to true is_false: func(nd) { nd.symbols.planArcs.hide() },# and this if it does not
},
},
18,200
edits

Navigation menu