Source code for nerodia.elements.hidden

import six

from .html_elements import InputCollection
from ..elements.input import Input
from ..exception import ObjectDisabledException
from ..meta_elements import MetaHTMLElement


[docs]@six.add_metaclass(MetaHTMLElement) class Hidden(Input): @property def visible(self): return False
[docs] def click(self): raise ObjectDisabledException('click is not available on the hidden field element')
[docs]@six.add_metaclass(MetaHTMLElement) class HiddenCollection(InputCollection): pass