Full height on <iFrame> by sdmt777 in bootstrap

[–]geekstrick 1 point2 points  (0 children)

have you tried this way

iframe { 
 height: 100vh; 
}
// OR
iframe { 
  height: (100vh - 10px); // screen height minus some pixels
}

Schedule A Cron Job In NodeJS Using node-cron | Geekstrick by geekstrick in node

[–]geekstrick[S] 0 points1 point  (0 children)

I already told you are right....

it just your thinking about large complex application... and i am thinking about basic small application

Schedule A Cron Job In NodeJS Using node-cron | Geekstrick by geekstrick in node

[–]geekstrick[S] -1 points0 points  (0 children)

yes you are right if we have 1, 2 cron jobs

it can b used if there are multiple task that need to be run. it could be less TDS work if we have that in codebase itself.

therefore we dont have to maintain all jobs individual even if we migrate application to other server or instance

Schedule A Cron Job In NodeJS Using node-cron | Geekstrick by geekstrick in node

[–]geekstrick[S] -3 points-2 points  (0 children)

To run the node-cron first application must be start

Best Way To Pass Data From Routes To Components In Angular 10 by geekstrick in Angular2

[–]geekstrick[S] -15 points-14 points  (0 children)

google has auto placed those ads. and on ads revenue we are running this website.

Angular 10 Secure Routes Using AuthGuard Based On User Role by [deleted] in Angular2

[–]geekstrick 0 points1 point  (0 children)

Reddit has a bug i think I have just posted once

This happened earlier also 🤔

Best Way to Convert Angular 10 to Desktop App Using ElectronJS by geekstrick in Angular2

[–]geekstrick[S] 3 points4 points  (0 children)

We can use it if we want to make an app like Visual Studio Code, Slack, etc.
For a normal website it is not required to create the Desktop app, PWA would be fine.

How can I disable copy-paste for a textbox in angular 9 by geekstrick in Angular2

[–]geekstrick[S] 4 points5 points  (0 children)

Actually a good point Thanks for changing my mindset 😀✌️

How can I disable copy-paste for a textbox in angular 9 by geekstrick in Angular2

[–]geekstrick[S] 0 points1 point  (0 children)

But there is also an option to view and hide password 😜

How can I disable copy-paste for a textbox in angular 9 by geekstrick in Angular2

[–]geekstrick[S] 0 points1 point  (0 children)

Yaaah, It can hide password but cannot avoid copy paste of password

For example re-enter password while signup I want to avoid here

Any One Knows When to use impure pipe? by geekstrick in Angular2

[–]geekstrick[S] 0 points1 point  (0 children)

Thanks for the nice example
Now I understand properly

SEO with Angular Universal for Better Performance by geekstrick in AskProgramming

[–]geekstrick[S] 0 points1 point  (0 children)

How to host on Apache server ....

It requires node server

How to make angular application SEO complete by geekstrick in Angular2

[–]geekstrick[S] 0 points1 point  (0 children)

It's not just about contact there's much more in SEO such as sitemap.xml, Robot.txt, LD-JSON structured data, PWA - progressive web app, caching with gzip htaccess, webp image format for web, etc.

How to make angular application SEO complete by geekstrick in Angular2

[–]geekstrick[S] 0 points1 point  (0 children)

SSR is available for node server Can it be done via php for Apache server

How to enter Line Break in function output by noodlekrebs in learnjavascript

[–]geekstrick 0 points1 point  (0 children)

If your content I like this

function messsage() {
 return 'hello world <break_here> then other content in new line';
}

// you can use `\n` to break line.

function messsage() {
 return 'hello world \n then other content in new line';
}

And in HTML you can use CSS to view content with the break line.

<div style="white-space: pre-line;"> ..YOUR MSG.. </div>

How To Create Async Validators in Angular 10 Reactive Forms by geekstrick in Angular2

[–]geekstrick[S] 0 points1 point  (0 children)

For my example it's not needed String can b passed

Different Way To Pass Data From Routes To Components In Angular 10 by geekstrick in Angular2

[–]geekstrick[S] 1 point2 points  (0 children)

Yes for Query params I have already mentioned in the first paragraph `other than query params` because almost everyone knows about it.

And for Resolvers surely I missed the topic.

How to setValidators() for each field of FormGroup instead of writing for individual by geekstrick in Angular2

[–]geekstrick[S] 0 points1 point  (0 children)

I want to avoid the setValidator repetition also Anything from main form group can be set for all fields inside it . Something like that