delete_rule method

delete_rule

The deleteRule method deletes the CSSKeyframeRule with the passed key. If a rule with this key does not exist, the method does nothing

def delete_rule(self, key):
    ...
ParameterTypeDescription
keystrThe key which describes the rule to be deleted. The key must resolve to a number between 0 and 1, or the rule is ignored

See Also