Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit060dc44

Browse files
author
minjk-bl
committed
Add DataSelector to sample output variable
1 parent50f4055 commit060dc44

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

‎visualpython/js/m_apps/File.js‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ define([
2222
'vp_base/js/com/com_generatorV2',
2323
'vp_base/data/m_library/pandasLibrary',
2424
'vp_base/js/com/component/FileNavigation',
25-
'vp_base/js/com/component/SuggestInput'
25+
'vp_base/js/com/component/SuggestInput',
26+
'vp_base/js/com/component/DataSelector'
2627
],function(fileHtml,fileCss,com_String,com_util,com_Const,PopupComponent
27-
,pdGen,pandasLibrary,FileNavigation,SuggestInput){
28+
,pdGen,pandasLibrary,FileNavigation,SuggestInput,DataSelector){
2829

2930
/**
3031
* File
@@ -286,7 +287,14 @@ define([
286287

287288
templateForBody(){
288289
/** Implement generating template */
289-
returnfileHtml;
290+
letpage=$(fileHtml);
291+
292+
letallocateSelector=newDataSelector({
293+
pageThis:this,id:'vp_sampleReturn',placeholder:'Variable name'
294+
});
295+
$(page).find('#vp_sampleReturn').replaceWith(allocateSelector.toTagString());
296+
297+
returnpage;
290298
}
291299

292300
renderPage(pageType){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp