FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::DOM::Node::setProperty ( const std::string &  name,
const variant val 
) const
virtual

Sets a property on the node to a given value.

Parameters
namethe name of the property to set
valthe new value for the property
Returns
result of calling the method cast as type T

Definition at line 41 of file ScriptingCore/DOM/Node.cpp.

42 {
43  m_element->SetProperty(name, val);
44 }