get_int_value method

get_int_value

This method is used to get an int value in a specified unit. If this CSS value doesn’t contain an int value or can’t be converted into the specified unit, a DOMException is raised.

Returns

Returns value

def get_int_value(self, unit_type):
    ...
ParameterTypeDescription
unit_typeintType of the unit.

See Also