After doing months of Android, I'm picking up Windows Phone again.
I wanted to install the nuget package for the SlideView control:
https://slideview.codeplex.com/
I installed it, but I have no idea how to reference it in XAML.
In the sample it uses the control namespace, but I don't have it,
so I should define it, but I don't know how?
Just add this on the top of your xaml page <phone:PhoneApplicationPage> tag.
xmlns:library="clr-namespace:SlidingPanel.Library;assembly=SlidingPanel.Library"
Then you could use that reference below anywhere to access all the properties of SlidePanel.
Refer this for more:
Hope it helps!
Related
I wish to be able to right-click on the tag and drill into the implementation or from inside the component implementation right-click > find all references > and drill back to this tag. Is there a VS Code extension or Setting that can help?
This picture shows the error when trying "Go to Implementations".
You can install the Angular Language Service extension for VS Code by Angular. Check it here: https://marketplace.visualstudio.com/items?itemName=Angular.ng-template
I believe that it is Angular Follow Selector extension that you are looking for 😃
https://marketplace.visualstudio.com/items?itemName=sanderledegen.angular-follow-selector
I want to implement following feature like in most of social media networks in Angular 8.
This is the scenario:
When user is typing inside a <textarea> whenever he type a # symbol then I want to show a dropdown in that specify place (place where the cursor is blinking).
I tried to find any npm packages but couldn't.
Any library or any solution to do this?
I think I have found a solution for this. We can use following npm package to create above feature. Not the exact same thing, but some how it helps to resolve the issue.
https://www.npmjs.com/package/angular-mentions
The polymer app that is generated when "JavaScript Polymer custom element" is selected as the project type in Chrome Dev Editor's "New Project" dialog displays a blank screen when run.
Is this a bug or am I doing something wrong?
If it is a bug, then how would I get the polymer app to display something?
Judging by your description, it sounds like you are forgetting to refactor for CSP. Right click on your project name, and select Refactor for CSP. This will take a while, but when it's done, it will work.
Sorry for the delayed response.
Please try the up-to-date Chrome Dev Editor. It's possible that the mentioned template was broken and got fixed since you've submitted the question.
Also make sure that you either:
have index.html or demo.html selected when clicking the Run button; or
right-click on of them and select Run... from the context menu.
What might have happened is that you confused Polymer element with a Polymer app. The template that've you used generates an element. It also provides an example of the element's usage in form of demo.html, and a standard Polymer element description page (based on the core-component-page element that reads and displays elements properties from the metadata.html) in form of index.html. So you have to explicitly run one of those to see something. If you attempt to "run" the element itself (say, click the Run button with my-element.html selected), you will see a blank screen, just like with any other pure Polymer template, because there is no renderable HTML in there (it's called a template for a reason).
If you do indeed want a Polymer app, consider using JavaScript web app (using Polymer paper elements) or JavaScript Chrome app (using Polymer paper elements) project types.
Try at first, to run the bower update from your command line
bower install Polymer/core-elements --save
And you might also need to right click on your project directory from the right panel of chrome dev editor and select Refractor for CSP.
Possibly in the example app, the CDE project (bower.json level) was in a subdirectory of the directory that you imported into the editor. Try to import a level deeper instead.
I have been getting this error in Visual Studio 2012 every time I try type an element and the class attribute (i.e. <div class="). It will popup and some times it even crashes Visual Studio if I hit enter too fast.
Is there anyway to get rid of this error while still getting the list of all the CSS classes?
I was having the same problem and a little search brought me to the following page:
http://forums.asp.net/t/1586914.aspx?Unable+to+edit+CSS+file+
In a nutshell: Add a fake parameter to the end of your CDN URL to get rid of your errors. This also makes intellisense work correctly.
Example:
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css?parameter=1" rel="stylesheet">
Visual Studio retrieves intellisense from your css to tell you which classes are available.
You have a reference to that css file but of course don't have edit permission. Looks like a bug to me. Try to remove that reference css file and see if problem go away and file a bug.
Are you using bundling? Maybe you could try to use the cdn feature, like this:
bundleList.Add(new StyleBundle("~/Content/themes/24mx/css", "https://cdnurl/bootstrap.css").Include(
"~/Content/bootstrap.css"
)
);
What this will do is use the cdn in release mode and the local css in debug. So just download that css to have it locally and then it will use the cdn when you publish. Maybe that will help. Ideally you should also use a cdn fallback if it fails:
bundleList.Add(new StyleBundle("~/Content/themes/24mx/css", "https://cdnurl/bootstrap.css"){ CdnFallbackExpression = "javascript expression" }.Include(
"~/Content/bootstrap.css"
)
);
Exactly how to write this expression for a css I haven't really looked into myself.
Can you please check if there is any online refernce to css like
netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css
in your codes. Also please check with a local version of css in that case.
If you change the rel attribute to
<link rel="stylesheet nofollow"...>
This is a work around. From what I can see the problem seems to be that visual studio is trying to adjust the line endings but does not have write permissions. From comments I've found on the web you need to be careful with this as YUI and some versions of IE may not work properly with the nofollow rel value. Personally, I would remove the nofollow before publishing live. A bit of a hassle, but I think it does answer your question as it does avoid the popup box.
Your web pages need to be either under a Web Site or a Web Application project to be able to edit linked style sheets. Here is what you need to do:
1.Tools->Options->Projects and Solutions
2.Check “Always show solution”
3.Right click on the Solution node in the Solution Explorer
4.Choose Add new Web Site or new Web Application project
5.Move your web pages to the new Web Site or Web Application project
Now you should be able to edit the linked style sheets.
Hope this helps
(Haven't received any love on Adobe forums, so trying this here)
So, I've formally logged a bug against this with Adobe as I've been beating my head against a wall trying to understand why this won't work, but I'm hoping that it's perhaps something within the Flash IDE that I'm setting incorrectly (or not setting at all) that is causing the issue that I'm encountering:
I've created a container .fla that uses classes that are defined in an externally loaded swc, child.swc. I've added the .swc in the container's library path (Publish Settings > AS 3.0 Settings > Library Path) and have set its "Link Type" as "Exernal". According to Adobe's docs:
"External: The code resources found in the path are not added to the
published SWF file, but the compiler verifies that they are in the
locations you specified."
However, when using FlashDevelop's swf browsing utility after publishing the fla (and having used a reference to the class in the container class), I see that the class definition is still being added to container.swf.
Now, if I use compc and mxmlc with the appropriate options (-link-report and -load-externs), I can exclude child classes as needed and all functions as expected. However, when setting what seems to be the same options in the Flash IDE, it does not provide the same output. Unfortunately, I have some use cases where the use of the Flash IDE is essential, so a workaround would be painful.
Is this a known issue, or is there something that I'm just doing wrong (or are my expectations incorrect) in the IDE?
Thanks in advance.
have you made sure, that these classes are not accidentally included in your source path?
Also, try setting the flex sdk in the Flash IDE (Settings > ActionScript > ActionScript 3.0 Settings). Then try again publishing, it will now use the flex compiler.