mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL makes CSSStyleDeclaration a bit less painful to use by replacing the crazy Java-style APIs with overloading operator[] and operator[]=. R=esprehn@chromium.org, ojan@chromium.org Review URL: https://codereview.chromium.org/942553002
11 lines
424 B
Plaintext
11 lines
424 B
Plaintext
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
interface CSSStyleDeclaration {
|
|
[ImplementedAs=getPropertyValue] getter DOMString (DOMString name);
|
|
[RaisesException, ImplementedAs=setProperty] setter void (DOMString name, DOMString? value);
|
|
|
|
[RaisesException] void removeProperty(DOMString name);
|
|
};
|