Comments (3)
My html code is like this:
<ul #screenshot style="list-style-type: none; line-height: 3rem;"> <li><a routerLink="/task/detail">Task detail</a></li> <li><a routerLink="/project/detail">Project detail</a></li> <li><a routerLink="/task/edit">Task edit</a></li> <li><a routerLink="/project/edit">Project edit</a></li> <li><a routerLink="/program/edit">Program edit</a></li> <li><a routerLink="/admin/access">Admin access</a></li> </ul>
and my ts like this:
`
@ViewChild("screenshot", {static: true}) screenshot: any;
makeScreenshot(){
this.captureService.getImage(this.screenshot.nativeElement, true).subscribe(img => {console.log(img)});
}
`
from ngx-capture.
My problem was dumb indeed... Your tool is working perfectly! I was just missing the "show more" button in the console to copy the whole base64. My apologies!
from ngx-capture.
Thanks mate! No problem.
from ngx-capture.
Related Issues (20)
- Recording the web page HOT 1
- ngx-capture not working on angular 11 HOT 1
- ngx-capture not working on material HOT 1
- ngx-capture on angular 11: unable to resolve dependancy tree HOT 1
- DOMException: Failed to set the 'adoptedStyleSheets' HOT 2
- How to catch all screen? HOT 1
- Invalid element provided as first argument HOT 3
- Capture overlay is not limited to the target element HOT 4
- Below Angular 8 is not supported? HOT 1
- How to set output size? HOT 1
- Use it on ionic v6 HOT 3
- The capture loses information of the screen that I want to capture HOT 3
- Issue with new lines
- Getting null image in saveImage function. HOT 1
- iframe not supporting
- not capture whole part of div HOT 1
- unable to capture img with [src] HOT 2
- Error configuring it HOT 4
- width and height not in px HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-capture.