Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98142614
textfield.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
Fri, Jan 10, 06:10
Size
2 KB
Mime Type
image/svg
Expires
Sun, Jan 12, 06:10 (2 d)
Engine
blob
Format
Raw Data
Handle
23515783
Attached To
rNIETZSCHEBETAAPP Nietzsche-Beta-App
textfield.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
]="
image_height
*
local_zoom
*
zoomFactor
"
[
attr
.
width
]="
image_width
*
local_zoom
*
zoomFactor
"
class =
'textfield'
[
attr
.
transform
]='
imageSpec
.
transform
'
>
<svg:g
*
ngIf=
"image"
>
<!--
'xlink:href' is deprecated in SVG2 (see https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href).
However, some browsers do not support 'href', therefore we use both 'xlink:href' and 'href'.
-->
<image
[
attr
.
xlink:href
]="
imageSpec
.
URL
"
[
attr
.
href
]="
imageSpec
.
URL
"
(
load
)="
msg
(
imageSpec
.
URL
)"
(
error
)="
updateImageProperties
(
imageSpec
.
secondaryURL
)"
[
attr
.
x
]="
imageSpec
.
x
"
[
attr
.
y
]="
imageSpec
.
y
"
[
attr
.
height
]="
imageSpec
.
height
"
[
attr
.
width
]="
imageSpec
.
width
"
/>
<foreignObject
*
ngIf=
"image.copyright"
[
ngStyle
]="
getCopyrightPosition
((
local_zoom
*
zoomFactor
>
1) ? 32 : 32/(local_zoom*zoomFactor))"
[attr.height]="(local_zoom*zoomFactor > 1) ? 32 : 32/(local_zoom*zoomFactor)"
[attr.width]="(local_zoom*zoomFactor > 1) ? 32 : 32/(local_zoom*zoomFactor)">
<xhtml:div><copyright
[
copyright
]="
image
.
copyright
"
[
dimension
]="
32
/(
local_zoom
*
zoomFactor
)"
></copyright></xhtml:div>
</foreignObject>
</svg:g>
<svg:g
*
ngFor=
"let word of words"
>
<svg:rect
[
interactedObject
]="
word
"
[
identity
]="
identity
"
[
container
]="
container
"
[
ngStyle
]="
assignStyle
(
word
,
hoveredWord
,
hoveredLine
,
getHoverStatus
(
word
))"
[
ngClass
]="
assignClass
(
word
)"
[
attr
.
x
]="
word
.
left
"
[
attr
.
y
]="
word
.
top
"
[
attr
.
height
]="
word
.
height
"
[
attr
.
width
]="
word
.
width
"
[
attr
.
transform
]="
word
.
transform
"
>
<title
*
ngIf=
"!useExtendedTooltip && word"
>
{{ word.edited_text != null ? '> ' + word.edited_text : word.text }}
</title>
</svg:rect>
<svg:g
*
ngIf=
"word.deletion_path"
>
<path
#
pathRef
[
ngClass
]="
assignClass
(
word
,
pathRef
.
localName
)"
[
attr
.
d
]="
word
.
deletion_path
"
/>
</svg:g>
</svg:g>
<svg:g
*
ngFor=
"let foreignText of foreign_texts"
>
<svg:rect
[
interactedObject
]="
foreignText
"
[
ngStyle
]="
assignStyle
(
foreignText
,
hoveredWord
,
hoveredLine
,
getHoverStatus
(
foreignText
))"
[
ngClass
]="
assignClass
(
foreignText
)"
[
attr
.
x
]="
foreignText
.
left
"
[
attr
.
y
]="
foreignText
.
top
"
[
attr
.
height
]="
foreignText
.
height
"
[
attr
.
width
]="
foreignText
.
width
"
[
attr
.
transform
]="
foreignText
.
transform
"
>
<title
*
ngIf=
"!useExtendedTooltip && foreignText"
>
{{foreignText.text}}, {{ foreignText.pen }}
</title>
</svg:rect>
</svg:g>
</svg>
Event Timeline
Log In to Comment