Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104769556
margin-field.component.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Mar 12, 06:11
Size
1 KB
Mime Type
image/svg
Expires
Fri, Mar 14, 06:11 (2 d)
Engine
blob
Format
Raw Data
Handle
24848537
Attached To
rNIETZSCHEONLINETOOLS nietzsche-online-tools
margin-field.component.html
View Options
<svg
xmlns:svg=
"http://www.w3.org/2000/svg"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xhtml=
"http://www.w3.org/1999/xhtml"
[
attr
.
viewBox
]="
viewBox
"
[
attr
.
height
]="
margin_height
*
local_zoom
*
zoomFactor
"
[
attr
.
width
]="
margin_width
*
local_zoom
*
zoomFactor
"
class =
'marginfield'
>
<svg:g
*
ngFor=
"let line of lines"
>
<svg:g
*
ngIf=
"line.number % 2 == 0"
>
<svg:rect
[
attr
.
x
]="
line_x-1
"
[
attr
.
y
]="
line
.
bottom
+
1-line_height
"
[
attr
.
height
]="
line_height
"
[
attr
.
width
]="
line
.
number
>
9 ? line_length + line_length/2 : line_length"
[ngStyle]="assignStyle(line, hoveredWord, hoveredLine, getHoverStatus(line))"
[ngClass]="{
'marginfield unhighlighted': getHoverStatus(line) != HOVERED_STATUS,
'marginfield highlight': getHoverStatus(line) == HOVERED_STATUS }" >
</svg:rect>
<svg:text
class=
"text"
[
attr
.
x
]="
line_x
"
[
attr
.
y
]="
line
.
bottom
"
[
container
]="
container
"
[
interactedObject
]="
line
"
>
{{line.number}}
</svg:text>
</svg:g>
</svg:g>
</svg>
Event Timeline
Log In to Comment