mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
import { inputDuplicatorCreator } from './input-duplicator';
|
|
|
|
export function pollOptionCreator() {
|
|
inputDuplicatorCreator({
|
|
addButtonSelector: '.js-poll-add-option',
|
|
fieldSelector: '.js-poll-option',
|
|
maxInputCountSelector: '.js-max-option-count',
|
|
removeButtonSelector: '.js-option-remove',
|
|
});
|
|
}
|