plunker

Can you import dependencies from your other plunks?

一曲冷凌霜 提交于 2019-12-07 09:19:25
Is it possible to import my other plunker as a library in a new plunker? Say, I've built a few AngularJS directives in a plunker. Can I reuse them in my other plunkers? Geoff Goodman You absolutely can refer from one plunk to another, but the mechanics to do so are not very well exposed. Historically, Plunker didn't expose this to users by design. In future versions, Plunks will be publishable as semver versioned packages to the package manager and this sort of thing will automatically be wired up for you. To use the type of setup you propose in Plunker today, you can: Create your new

Need help in creating network graph using visjs in angularjs

别等时光非礼了梦想. 提交于 2019-12-06 01:36:09
I need help in making this plunker work something similar to this vis example in angularjs. I am using <vis-network data="data" options="options"></vis-network> tag and below data and options data var nodes = [ {id: 1, label: 'Node 1'}, {id: 2, label: 'Node 2'}, {id: 3, label: 'Node 3'}, {id: 4, label: 'Node 4'}, {id: 5, label: 'Node 5'} ]; var edges = [ {from: 1, to: 3}, {from: 1, to: 2}, {from: 2, to: 4}, {from: 2, to: 5} ]; $scope.data = VisDataSet({ nodes: nodes, edges: edges }); options $scope.options = { autoResize: true, height: '100%', width: '100%' }; There is no console error, what

Plunker with AngularJS and Typescript possible?

随声附和 提交于 2019-12-03 13:46:30
I have some code I would like to ask questions about on stackoverflow. The code is written in AngularJS with Typescript, and does manipulation and watching of the $location.hash. I now have the code on github at https://github.com/svdoever/AngularJS-bookviewer . Is it possible to have this code, preferably without the compiled Typescript files, up at http://plnkr.co ? I read at https://twitter.com/filearts/status/290961349092208642 that Typescript should be suported on http://plunkr.co . Edit: Solution by Bassarat to add a gh-pages branch to the git repository did the job. See comments on his

How to create network graph or hierarchical tree using visjs in angularjs?

吃可爱长大的小学妹 提交于 2019-12-02 17:16:20
问题 I need some help in creating a network graph using visjs in angularjs. I am working on this plunker to achieve something like this I followed the steps mentioned in AngularJS - visjs but was unable to make it work so I created a plunker (given above) to get help from community. Controller code. var app = angular.module('app', ['ngVis']); app.controller('MainCtrl', ['$scope', 'VisDataSet', function($scope, VisDataSet) { $scope.data = VisDataSet({ "1": { "id": 1, "content": "<i class=\"fi-flag\

How do I import Polymer elements into code playgrounds like plunker (plnkr.co), jsBin and jsFiddle?

若如初见. 提交于 2019-12-01 01:07:11
Question: In this Plunk , I want to import the Polymer 1.0 elements <paper-button> and <paper-menu> . How do I do that? In other words, what is the proper set of <script> and <link> tags and their respective src and href attributes that will allow my <paper-button> and <paper-menu> elements to properly function? Attempts: In the right margin, there is an option to search and import external libraries. I used that to search for Polymer 1.0 and I imported the following. <script data-require="polymer@1.0.0" data-semver="1.0.0" src="http://www.polymer-project.org/1.0/samples/components

Send and Get data from code editor like Plunker/StackBlitz embedded

拟墨画扇 提交于 2019-11-30 17:11:32
问题 I have a website in .Net Core 2 and Angular 6. I am trying to create a code editor in angular or javaScript that will interact with part of the website, from parent to embeded direction, not the opposite and this code can be submitted to my server once it is done. Can be any other editor that like jsfiddle , jsbin , etc... So I tough about the image below. I would like to embed something similar to Plunker Editor on my website and in this page there will be events that will be sent to this