1 |
|
2 | import { WidgetModel, WidgetView } from './widget';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare class StyleModel extends WidgetModel {
|
8 | defaults(): Backbone.ObjectHash;
|
9 | static styleProperties: {
|
10 | [s: string]: IStyleProperty;
|
11 | };
|
12 | }
|
13 | interface IStyleProperty {
|
14 | attribute: string;
|
15 | selector: string;
|
16 | default: string;
|
17 | }
|
18 | export declare class StyleView extends WidgetView {
|
19 | |
20 |
|
21 |
|
22 | initialize(parameters: WidgetView.IInitializeParameters): void;
|
23 | |
24 |
|
25 |
|
26 |
|
27 | registerTrait(trait: string): void;
|
28 | |
29 |
|
30 |
|
31 | handleChange(trait: string, value: any): void;
|
32 | |
33 |
|
34 |
|
35 | style(): void;
|
36 | |
37 |
|
38 |
|
39 | unstyle(): void;
|
40 | private _traitNames;
|
41 | }
|
42 | export {};
|
43 |
|
\ | No newline at end of file |