如何为node.js设置WebStorm?(How to set WebStorm for node.js?)
我正在为ReactNative开发,因为我是前端开发人员。 (使用WebStorm)
但我找到了node.js的服务器。 (我也想使用WebStorm)
很多表情是这样的发生。
我只是克隆了一些node.js项目并在WebStorm中打开该项目。
如何为node.js设置WebStorm? (如果我更改了node.js的设置,我希望ReactNative项目不会更改。)
I'm developing for ReactNative because I developer of front-end. (Using WebStorm)
But I got a job of server of node.js. (I want to using WebStorm too)
A lot of expression is occurrence like this.
I just clone some node.js project and open the project in WebStorm.
How do I set WebStorm for node.js? (if I change setting for node.js, I wish ReactNative project is not changed.)
原文:https://stackoverflow.com/questions/49688767
更新时间:2022-02-07 14:02
最满意答案
您可以使用
collapsible()
在更改后更新手风琴:var accordion = $('#accordion'); accordion.append('<li><div class="collapsible-header active"><i class="material-icons">whatshot</i>Third</div><div class="collapsible-body"><p>Lorem ipsum dolor sit amet.</p></div></li>'); accordion.collapsible();
You can use
collapsible()
to update the accordion after change:var accordion = $('#accordion'); accordion.append('<li><div class="collapsible-header active"><i class="material-icons">whatshot</i>Third</div><div class="collapsible-body"><p>Lorem ipsum dolor sit amet.</p></div></li>'); accordion.collapsible();
相关问答
更多-
我不是“Laravel”人,但我可以为你提出以下HTML / JS / CSS解决方案:
-
filter_dramaFirst
...
像这样的东西可能会工作: Template.CompanyDetails.onRendered(function(){ $('.collapsible').collapsible(); }); Template.CompanyDetails.helpers({ isActive: function() { if(Session.get("event")){ return true; Session.set("event",undefined); ...好吧,我不知道发生了什么,但两天后,似乎随机它开始工作,没有任何改变网站所以......也许一个缓存的文件已经过时或其他东西。 Well, I have no idea what happened, but two days later, seemingly by random it begins to work, without any change to the site so... perhaps a cached file was outdated or something.实现:通过js / jquery激活collapsible-header(Materialize: Make collapsible-header active via js/jquery)[2023-06-06]
您可以使用collapsible()在更改后更新手风琴: var accordion = $('#accordion'); accordion.append(' '); accor ...whatshotThirdLorem ipsum dolor sit amet.
据我可以告诉你想要: 选择所有不活动的.collapsible-header元素 过滤掉任何具有包含无效输入的兄弟.collapsible-body元素 在过滤后.collapsible-header任何.collapsible-header元素上触发'点击'。 如果是这样,请尝试以下jQuery: $('.collapsible > li').children('.collapsible-header:not(.active)').filter(function() { return $(this ...我会在第一个.collapsible-header项目上触发点击事件,并为锚点稍作更改: $('[data-click]').on('click', function (e) { $( $(this).data('click') ).trigger('click'); }); -