
332
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
dreamweaver.snippetPalette.insert()
Availability
Dreamweaver MX.
Description
Applies the selected snippet from the Snippets panel to the current selection.
Arguments
None.
Returns
Nothing.
Enabler
See “dreamweaver.snippetpalette.canInsert()” on page 520.
dreamweaver.snippetPalette.insertSnippet()
Availability
Dreamweaver MX.
Description
Inserts the indicated snippet into the current selection.
Arguments
path
• A string that specifies the path to the snippet relative to the Snippets folder.
Returns
A Boolean value.
Enabler
See “dreamweaver.snippetpalette.canInsert()” on page 520.
Example
The following call to the dw.snippetPalette.insertSnippet() function inserts the code snippet at the location
specified by the argument into the current document at the insertion point:
dw.snippetPalette.insertSnippet('Text\\Different_Link_Color.csn');
dreamweaver.snippetPalette.rename()
Availability
Dreamweaver MX.
Komentarze do niniejszej Instrukcji