Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > dcb57bc1f616cf3a8072df2efbbf2767 > files > 98

elinks-0.12-18.mga7.i586.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>View-state Object</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="The ELinks Manual"><link rel="up" href="ch15.html" title="Chapter 15. Scripting ELinks with ECMAScript"><link rel="prev" href="ch15s03.html" title="Cache Object"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">View-state Object</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch15s03.html">Prev</a> </td><th width="60%" align="center">Chapter 15. Scripting ELinks with ECMAScript</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="section" title="View-state Object"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="smjs-view_state-object"></a>View-state Object</h2></div></div></div><p>The view-state object mentioned in the descriptions of
<a class="link" href="ch15s02.html#smjs-elinks.preformat_html"><span class="emphasis"><em>elinks.preformat_html</em></span></a> and
<a class="link" href="ch15s02.html#smjs-elinks.vs"><span class="emphasis"><em>elinks.vs</em></span></a> is a wrapper for the internal ELinks view_state
object.  The view state holds information on how the current document is being
displayed.</p><p><span class="strong"><strong>Compatibility:</strong></span> ELinks 0.11.1</p><div class="section" title="View-state Object Properties"><div class="titlepage"><div><div><h3 class="title"><a name="smjs-view_state-properties"></a>View-state Object Properties</h3></div></div></div><div class="variablelist"><dl><dt><span class="term">
<a name="smjs.view_state.plain"></a> vs.plain (boolean)
</span></dt><dd>
        Whether the current document is rendered as HTML or displayed
        as plaintext. This can be read and set.
</dd><dt><span class="term">
<a name="smjs.view_state.uri"></a> vs.uri (string)
</span></dt><dd>
        This is the URI of the current document. It is read-only.
</dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch15s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch15.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Cache Object </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>