If in one directive I create a timeline object like this
timeline = new links.Timeline(document.getElementById('mytimeline'),
scope.timeline.options);
is there a way to call functions on that timeline from another directive?
Really new to Angular and javascript. Any information would be
Having the exact same problem (same exception) with plain JavaScript and
router 3.0.0-beta.1. Venkata: any luck finding a solution?
On Monday, July 25, 2016 at 7:31:09 AM UTC-6, Venkata Chakradhar wrote:
>
> Angular2 for plain javascript / es5 has been difficult for users to
> understand
DynamicComponentLoader is now deprecated and doesn't fire events propely.
Use ComponentResolver with ViewContainerRef.
import { Directive , Input, OnInit, ComponentResolver,ViewContainerRef }
from '@angular/core';
@Directive({
selector:'[yourSelector]'
})
export class YourDirective
In Angular2, there is a PatternValidator directive. Not sure if there is an
equivalent directive for Angular1. Sorry I can't be of more help.
On Tue, Jul 26, 2016 at 12:45 PM, Rajan Singh
wrote:
> I have already verified regex on http://regexr.com/ & now verified on
>
I have already verified regex on http://regexr.com/ & now verified on
https://regex101.com/ It is a valid regex.
On Tuesday, July 26, 2016 at 8:24:59 PM UTC+5:30, Rajan Singh wrote:
>
> Hi,
>
> I have pattern which is /^\w(?:(?![ \\.']{2,})[\w \\.'])*/. It is for
> name which starts with
Hi Tomasz,
We are currently evaluating the changes. At the very least we will move
routing into a separate library, but not deprecate it since some large
projects are happily using it.
There are some nice router implementations out there from the community and
we'd very much like to have
This seems like an issue with regex.
I would try out a service like this: https://regex101.com/
On Tue, Jul 26, 2016 at 10:54 AM, Rajan Singh
wrote:
> Hi,
>
> I have pattern which is /^\w(?:(?![ \\.']{2,})[\w \\.'])*/. It is for
> name which starts with words &
Hi,
I have pattern which is /^\w(?:(?![ \\.']{2,})[\w \\.'])*/. It is for
name which starts with words & allows .(period), (space), '(Single Quote)
but two consecutive .(period), (space), '(Single Quote) are not allowed.
I am using ng-pattern= /^\w(?:(?![ \\.']{2,})[\w \\.'])*/ which is not
The core-js library should provide all the polyfills you need. I would
suggest creating a plunkr to reproduce the issue. Otherwise, there is
nothing else to go on here.
I don't write Javascript anymore. Typescript (or any other transpiler) has
far too many benefits to write vanilla JS, IMO.
Following is the order of scripts I load
Since I use plain javascript and shim.js
How can be permission denied errors handled with Angular?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to angular+unsubscr...@googlegroups.com.
To post to this
Amongst directive, factory, service and provider, which provides the lowest
level of abstraction?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Real beginner. Kindly give me the code.
On Tuesday, July 26, 2016 at 4:14:29 PM UTC+5:30, Newen F wrote:
>
> you would make 2 classes. like the two different states. and just add the
> class when you wan to change state. right?
>
>
>
> I think.
>
> On Tuesday, July 26, 2016 at 10:17:16 AM
It sounds like you're missing a polyfill or library. What scripts are you
pulling in?
On Tue, Jul 26, 2016 at 2:08 AM, Venkata Chakradhar <
venkatachakrad...@gmail.com> wrote:
>
> I loaded this file
> "~/.bin/node_modules/@angular/router/bundles/router.umd.js", which covers
> routing and
Hi,
It is already asynchron from your client application viewpoint. What other
asynchronicity you would like to achieve?
Thanks,
András
- -
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
http://facebook.com/andras.csanyi
-- ""Trust in God and keep your gunpowder dry!" - Cromwell
On
Hi,
Do you plan change routing in a way TS version is done ?
Is Angular Dart routing deprecated as well ?
--
You received this message because you are subscribed to the Google Groups
"angular-dart" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Ok, tomorrow i will upload my code on plunker and create new thread.
On Tue, Jul 26, 2016 at 10:55 AM, Sander Elias
wrote:
> Hi Paijo,
>
> There are a couple (better?) ways to solve this. If you want some more
> help with this, create a plunk
>
Awesome ! Works great. My primary requirement is to bind the colour change
to a CSS class. How can I accommodate with this code ?
On Tuesday, July 26, 2016 at 9:19:14 AM UTC+5:30, Sander Elias wrote:
>
> Hi Team,
>
> This is the simplest solution I could come up with:
>
>
>
>
Hi,
I want to use Window.open from one Angular (2) app, and open up a new tab
to point to navigate directly to a specific controller/component, ie:
localhost:/myPage?queryParam1=foo=bar
When I do this, it seems to start the Angular 2 bootstrap process.
So I kind of want to hit this URL
Hi all,
I'm trying to convert the following post to async, I dont know if anyone
could possibly help me ?
angular.module('testAsync').controller('ContactController', function ($scope
, $http) {
$scope.sendMail = function () {
document.getElementById("info").innerHTML = "Sending,
I loaded this file
"~/.bin/node_modules/@angular/router/bundles/router.umd.js", which covers
routing and navigation parts, referenced files before I use them and every
thing is okay. But I get those unsolvable errors. Typescript code is
working fine but I need routing and navigation in plain
21 matches
Mail list logo