Resolve
RDF Terms

    Data based on @zazuko/vocabularies
    Click to Copy
    dash:Constructor
    Click to Copy
    http://datashapes.org/dash#Constructor

    Recommended prefix

    Copy 'PREFIX dash: <http://datashapes.org/dash#>'

    dash:

    lang:""
    Constructor
    lang:""
    A script that is executed when a new instance of the class associated via dash:constructor is created, e.g. from a New button. Such scripts typically declare one or more parameters that are collected from the user when the script starts. The values of these parameters can be used as named variables in the script for arbitrary purposes such as setting the URI or initializing some property values of the new instance. The variable focusNode will hold the named node of the selected type, for example when a constructor is associated with a superclass but the user has pressed New for a subclass. The last expression of the script will be used as result of the constructor, so that the surrounding tool knows which resource shall be navigated to next.